diff --git a/src/app/content/App.tsx b/src/app/content/App.tsx index 130f05a..f57be61 100644 --- a/src/app/content/App.tsx +++ b/src/app/content/App.tsx @@ -14,6 +14,7 @@ import { AnimatePresence, motion } from 'framer-motion' import DanmakuContainer from './components/DanmakuContainer' import DanmakuDomain from '@/domain/Danmaku' +import AppStatusDomain from '@/domain/AppStatus' /** * Fix requestAnimationFrame error in jest @@ -34,6 +35,8 @@ export default function App() { const userInfoSetFinished = useRemeshQuery(userInfoDomain.query.UserInfoSetIsFinishedQuery()) const messageListLoadFinished = useRemeshQuery(messageListDomain.query.LoadIsFinishedQuery()) const userInfoLoadFinished = useRemeshQuery(userInfoDomain.query.UserInfoLoadIsFinishedQuery()) + const appStatusDomain = useRemeshDomain(AppStatusDomain()) + const appStatusLoadIsFinished = useRemeshQuery(appStatusDomain.query.StatusLoadIsFinishedQuery()) const notUserInfo = userInfoLoadFinished && !userInfoSetFinished @@ -58,23 +61,25 @@ export default function App() { }, [danmakuIsEnabled]) return ( - <> - -
-
-