diff --git a/apps/web/src/views/workspaces/view.tsx b/apps/web/src/views/workspaces/view.tsx index dbc4ee1c..c65b0338 100644 --- a/apps/web/src/views/workspaces/view.tsx +++ b/apps/web/src/views/workspaces/view.tsx @@ -110,7 +110,11 @@ const WorkspacesView: Component = () => { if (currentWorkspaceId() !== workspaceId) { await client.auth.switchWorkspace.mutate({ workspaceId }); setStorage((storage) => ({ - sidePanelWidth: storage.sidePanelWidth + ...storage, + activeContentGroupId: undefined, + activeVariantId: undefined, + expandedContentLevels: [], + sourceControlConfiguredProvider: undefined })); }