From 7c4eab6cd34390935fc4cd6809063a5dbd51e412 Mon Sep 17 00:00:00 2001 From: L-Sun Date: Thu, 12 Sep 2024 06:48:21 +0000 Subject: [PATCH] fix(core): add edit entry for mobile edition (#8173) --- .../src/components/blocksuite/block-suite-header/menu/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/core/src/components/blocksuite/block-suite-header/menu/index.tsx b/packages/frontend/core/src/components/blocksuite/block-suite-header/menu/index.tsx index d6ec7b887d..e2bb4017ed 100644 --- a/packages/frontend/core/src/components/blocksuite/block-suite-header/menu/index.tsx +++ b/packages/frontend/core/src/components/blocksuite/block-suite-header/menu/index.tsx @@ -206,7 +206,7 @@ export const PageHeaderMenuButton = ({ setEditing(!isEditing); }, [isEditing, page.id, page.readonly, setDocReadonly]); - const isMobile = environment.isMobileEdition; + const isMobile = environment.isMobile; const mobileEditMenuItem = ( : }