chore: updates
This commit is contained in:
+23
-23
@@ -7,24 +7,24 @@
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
|
||||
"@radix-ui/react-popover": "^1.0.7",
|
||||
"@react-oauth/google": "^0.12.1",
|
||||
"@reduxjs/toolkit": "^2.2.1",
|
||||
"@reduxjs/toolkit": "^2.2.2",
|
||||
"@svgr/webpack": "^8.1.0",
|
||||
"@tippyjs/react": "^4.2.6",
|
||||
"@toast-ui/editor": "^3.2.2",
|
||||
"@toast-ui/editor-plugin-code-syntax-highlight": "^3.1.0",
|
||||
"@toast-ui/react-editor": "^3.2.3",
|
||||
"@udecode/plate-break": "^30.5.3",
|
||||
"@udecode/plate-combobox": "^30.5.3",
|
||||
"@udecode/plate-common": "^30.4.5",
|
||||
"@udecode/plate-emoji": "^30.7.0",
|
||||
"@udecode/plate-floating": "^30.5.3",
|
||||
"@udecode/plate-font": "^30.5.3",
|
||||
"@udecode/plate-mention": "^30.5.3",
|
||||
"@udecode/plate-node-id": "^30.5.3",
|
||||
"@udecode/plate-paragraph": "^30.5.3",
|
||||
"@udecode/plate-trailing-block": "^30.5.3",
|
||||
"@udecode/plate-break": "^31.0.0",
|
||||
"@udecode/plate-combobox": "^31.0.0",
|
||||
"@udecode/plate-common": "^31.0.0",
|
||||
"@udecode/plate-emoji": "^31.0.0",
|
||||
"@udecode/plate-floating": "^31.0.0",
|
||||
"@udecode/plate-font": "^31.0.0",
|
||||
"@udecode/plate-mention": "^31.0.0",
|
||||
"@udecode/plate-node-id": "^31.0.0",
|
||||
"@udecode/plate-paragraph": "^31.0.0",
|
||||
"@udecode/plate-trailing-block": "^31.0.0",
|
||||
"@uiball/loaders": "^1.3.0",
|
||||
"agora-rtc-sdk-ng": "^4.20.1",
|
||||
"agora-rtc-sdk-ng": "^4.20.2",
|
||||
"broadcast-channel": "^7.0.0",
|
||||
"browserslist": "^4.23.0",
|
||||
"clsx": "^2.1.0",
|
||||
@@ -67,7 +67,7 @@
|
||||
"react-textarea-autosize": "^8.5.3",
|
||||
"react-use-wizard": "^2.3.0",
|
||||
"react-viewport-list": "^7.1.2",
|
||||
"react-virtuoso": "^4.7.2",
|
||||
"react-virtuoso": "^4.7.5",
|
||||
"rooks": "^7.14.1",
|
||||
"slate": "^0.102.0",
|
||||
"slate-history": "^0.100.0",
|
||||
@@ -78,9 +78,9 @@
|
||||
"tailwind-merge": "2.2.2",
|
||||
"terser-webpack-plugin": "^5.3.10",
|
||||
"tippy.js": "^6.3.7",
|
||||
"typescript": "^5.4.2",
|
||||
"typescript": "^5.4.3",
|
||||
"wavesurfer.js": "^7.7.5",
|
||||
"webpack": "^5.90.3",
|
||||
"webpack": "^5.91.0",
|
||||
"webpack-dev-server": "^4.15.1",
|
||||
"webpack-manifest-plugin": "^5.0.0",
|
||||
"workbox-core": "^7.0.0",
|
||||
@@ -115,17 +115,17 @@
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.24.0",
|
||||
"@babel/core": "^7.24.3",
|
||||
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
|
||||
"@types/masonry-layout": "^4.2.7",
|
||||
"@types/node": "^20.11.29",
|
||||
"@types/react": "18.2.67",
|
||||
"@types/node": "^20.11.30",
|
||||
"@types/react": "18.2.73",
|
||||
"@types/react-dom": "^18.2.22",
|
||||
"@types/react-helmet": "^6.1.11",
|
||||
"@types/react-syntax-highlighter": "^15.5.11",
|
||||
"@typescript-eslint/eslint-plugin": "^7.3.1",
|
||||
"@typescript-eslint/parser": "^7.3.1",
|
||||
"autoprefixer": "^10.4.18",
|
||||
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
||||
"@typescript-eslint/parser": "^7.4.0",
|
||||
"autoprefixer": "^10.4.19",
|
||||
"babel-loader": "^9.1.3",
|
||||
"babel-plugin-named-asset-import": "^0.3.8",
|
||||
"babel-preset-react-app": "^10.0.1",
|
||||
@@ -137,11 +137,11 @@
|
||||
"gh-pages": "^6.1.1",
|
||||
"md5-file": "^5.0.0",
|
||||
"patch-package": "^8.0.0",
|
||||
"postcss": "^8.4.36",
|
||||
"postcss": "^8.4.38",
|
||||
"postcss-loader": "^8.1.1",
|
||||
"postinstall-postinstall": "^2.1.0",
|
||||
"prettier": "^3.2.5",
|
||||
"tailwindcss": "^3.4.1",
|
||||
"tailwindcss": "^3.4.3",
|
||||
"webpack-bundle-analyzer": "^4.10.1"
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+1041
-979
File diff suppressed because it is too large
Load Diff
@@ -252,6 +252,9 @@ html.dark ::-webkit-scrollbar-thumb {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
#MARKDOWN_CONTAINER .toastui-editor-contents p {
|
||||
white-space: break-spaces;
|
||||
}
|
||||
#MARKDOWN_CONTAINER .toastui-editor-contents iframe {
|
||||
width: 640px;
|
||||
}
|
||||
|
||||
@@ -449,6 +449,7 @@ export default function useStreaming() {
|
||||
} else {
|
||||
const elapsedTime = (new Date().getTime() - hiddenTime) / 1000;
|
||||
// 大于 1 天
|
||||
// const timeSpan = 60;
|
||||
const timeSpan = 24 * 60 * 60;
|
||||
// const timeSpan = 5;
|
||||
const canReconnect = elapsedTime > timeSpan || !SSE;
|
||||
|
||||
@@ -9,7 +9,6 @@ import useGithubAuthConfig from "@/hooks/useGithubAuthConfig";
|
||||
import useGoogleAuthConfig from "@/hooks/useGoogleAuthConfig";
|
||||
import { useLoginMutation } from "../../app/services/auth";
|
||||
import { AuthType } from "../../types/common";
|
||||
import { LoginConfig } from "../../types/server";
|
||||
import MetamaskLoginButton from "./MetamaskLoginButton";
|
||||
import OidcLoginButton from "./OidcLoginButton";
|
||||
|
||||
@@ -36,7 +35,7 @@ const SocialLoginButtons = ({ type = "login" }: Props) => {
|
||||
google: enableGoogleLogin,
|
||||
metamask: enableMetamaskLogin,
|
||||
oidc = []
|
||||
} = loginConfig as LoginConfig;
|
||||
} = loginConfig;
|
||||
const googleLogin = enableGoogleLogin && !!clientId;
|
||||
return (
|
||||
<>
|
||||
|
||||
@@ -27,7 +27,7 @@ export default function LoginPage() {
|
||||
const { t } = useTranslation("auth");
|
||||
const { t: ct } = useTranslation();
|
||||
const { data: enableSMTP, isLoading: loadingSMTPStatus } = useGetSMTPStatusQuery();
|
||||
const [login, { isSuccess, isLoading, error }] = useLoginMutation();
|
||||
const [login, { isSuccess, isLoading }] = useLoginMutation();
|
||||
const { data: loginConfig, isSuccess: loginConfigSuccess } = useGetLoginConfigQuery();
|
||||
const [emailInputted, setEmailInputted] = useState(false);
|
||||
const [input, setInput] = useState(defaultInput);
|
||||
|
||||
Reference in New Issue
Block a user