Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🐛 fix: slove the settings/profile change but not refresh the profiles (#11497)

Shinji-Lif1e2111bf307
diff --git a/src/layout/GlobalProvider/index.tsx b/src/layout/GlobalProvider/index.tsx
index dba6a191989..3b70af823e4 100644
--- a/src/layout/GlobalProvider/index.tsx
+++ b/src/layout/GlobalProvider/index.tsx
@@ -64,6 +64,7 @@ const GlobalLayout = async ({
serverConfig={serverConfig}
>
<QueryProvider>
+ <StoreInitialization />
<GroupWizardProvider>
<DragUploadProvider>
<LazyMotion features={domMax}>
@@ -76,7 +77,6 @@ const GlobalLayout = async ({
</DragUploadProvider>
</GroupWizardProvider>
</QueryProvider>
- <StoreInitialization />
<Suspense>
{ENABLE_BUSINESS_FEATURES ? <ReferralProvider /> : null}
<ImportSettings />