mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-11 06:30:21 +00:00
fix(classic): fix classic web build failures
- replace the Slack OAuth icon with FaSlack from react-icons/fa to avoid the missing SiSlack export. - add a classic Rsbuild alias for date-fns so Semi resolves its compatible date-fns v2 dependency.
This commit is contained in:
Vendored
+2
-3
@@ -99,13 +99,12 @@ import {
|
||||
SiOkta,
|
||||
SiOpenid,
|
||||
SiReddit,
|
||||
SiSlack,
|
||||
SiTelegram,
|
||||
SiTwitch,
|
||||
SiWechat,
|
||||
SiX,
|
||||
} from 'react-icons/si';
|
||||
import { FaLinkedin } from 'react-icons/fa';
|
||||
import { FaLinkedin, FaSlack } from 'react-icons/fa';
|
||||
|
||||
// 获取侧边栏Lucide图标组件
|
||||
export function getLucideIcon(key, selected = false) {
|
||||
@@ -512,7 +511,7 @@ const oauthProviderIconMap = {
|
||||
linkedin: FaLinkedin,
|
||||
x: SiX,
|
||||
twitter: SiX,
|
||||
slack: SiSlack,
|
||||
slack: FaSlack,
|
||||
telegram: SiTelegram,
|
||||
wechat: SiWechat,
|
||||
keycloak: SiKeycloak,
|
||||
|
||||
Reference in New Issue
Block a user