diff --git a/apps/core/src/layouts/workspace-layout.tsx b/apps/core/src/layouts/workspace-layout.tsx
index 26c9e20ee4..b80f5cc411 100644
--- a/apps/core/src/layouts/workspace-layout.tsx
+++ b/apps/core/src/layouts/workspace-layout.tsx
@@ -1,5 +1,8 @@
import { Content, displayFlex } from '@affine/component';
-import { appSidebarResizingAtom } from '@affine/component/app-sidebar';
+import {
+ AppSidebarFallback,
+ appSidebarResizingAtom,
+} from '@affine/component/app-sidebar';
import { BlockHubWrapper } from '@affine/component/block-hub';
import { NotificationCenter } from '@affine/component/notification-center';
import type { DraggableTitleCellData } from '@affine/component/page-list';
@@ -135,11 +138,9 @@ export const WorkspaceLayout = function WorkspacesSuspense({
- }>
-
- {children}
-
-
+
+ {children}
+
>
);
@@ -231,30 +232,34 @@ export const WorkspaceLayoutInner = ({ children }: PropsWithChildren) => {
onDragEnd={handleDragEnd}
>
- {
- assertExists(currentWorkspace);
- return openPage(currentWorkspace.id, pageId);
- },
- [currentWorkspace, openPage]
- )}
- createPage={handleCreatePage}
- currentPath={location.pathname.split('?')[0]}
- paths={pathGenerator}
- />
-
- {children}
-
-
-
-
-
+ }>
+ {
+ assertExists(currentWorkspace);
+ return openPage(currentWorkspace.id, pageId);
+ },
+ [currentWorkspace, openPage]
+ )}
+ createPage={handleCreatePage}
+ currentPath={location.pathname.split('?')[0]}
+ paths={pathGenerator}
+ />
+
+ }>
+
+ {children}
+
+
+
+
+
+