Skip to content

Open-source and local-first Slack and Notion alternative that puts you in control of your data

Rerender layout on workspace change

Hakan Shehu1011eda582e5
diff --git a/apps/desktop/src/renderer/components/workspaces/workspace.tsx b/apps/desktop/src/renderer/components/workspaces/workspace.tsx
index 7a7ed773..9205b7f4 100644
--- a/apps/desktop/src/renderer/components/workspaces/workspace.tsx
+++ b/apps/desktop/src/renderer/components/workspaces/workspace.tsx
@@ -83,7 +83,7 @@ export const Workspace = () => {
},
}}
>
- <Layout />
+ <Layout key={workspaceId} />
{openSettings && (
<WorkspaceSettingsDialog
open={openSettings}