diff --git a/packages/app/src/providers/app-state-provider/Provider.tsx b/packages/app/src/providers/app-state-provider/Provider.tsx index 9ec23cd69c..f31254add3 100644 --- a/packages/app/src/providers/app-state-provider/Provider.tsx +++ b/packages/app/src/providers/app-state-provider/Provider.tsx @@ -141,6 +141,7 @@ export const AppStateProvider = ({ } setAppState({ ...appState, + workspaceList: dataCenter.workspaces, user, }); return user; @@ -151,6 +152,7 @@ export const AppStateProvider = ({ await dataCenter.logout(); setAppState({ ...appState, + workspaceList: dataCenter.workspaces, user: null, }); };