Fix: Middlerawe/6

This commit is contained in:
2024-11-21 17:36:35 +08:00
parent c9d5791761
commit b9e4b97b31
2 changed files with 97 additions and 87 deletions

View File

@@ -44,11 +44,12 @@ export default async function RootLayout({
// if (!token) return <>Require Token Storage</>;
const userLoginId = await funGetUserIdByToken();
return (
<RootStyleRegistry>
{/* <MqttLoader />
<TokenProvider token={token} envObject={envObject} /> */}
{/* <RealtimeProvider userLoginId={userLoginId as string} /> */}
<RealtimeProvider userLoginId={userLoginId as string} />
{children}
</RootStyleRegistry>
);