fix(infra): compatibility logic follow blocksuite (#5143)

This commit is contained in:
Joooye_34
2023-11-30 23:01:38 +08:00
committed by GitHub
parent dc279d062b
commit 246e16c6c0
2 changed files with 19 additions and 6 deletions
@@ -75,7 +75,7 @@ export const Component = (): ReactElement => {
const migration = useLoaderData() as MigrationPoint | undefined;
return (
<AffineErrorBoundary height="100vh">
<AffineErrorBoundary key={params.workspaceId} height="100vh">
<WorkspaceLayout migration={migration}>
<Outlet />
</WorkspaceLayout>