This commit is contained in:
CrescentLeaf
2025-12-14 17:44:56 +08:00
parent db3dca724a
commit 8c74eaacb1
3 changed files with 62 additions and 61 deletions

View File

@@ -9,7 +9,8 @@ import EffectOnly from "../EffectOnly"
export default function LazyChatFragment({ chatId, openedWithRouter }: { chatId: string, openedWithRouter: boolean }) {
return <React.Suspense fallback={<EffectOnly effect={() => {
const s = showSnackbar({
message: '请稍后',
message: '请稍后...',
autoCloseDelay: 0,
})
return () => {
s.open = false