From 3a0797955c3bc264d83159233cfba5c7cff91d9a Mon Sep 17 00:00:00 2001 From: Garfield Lee Date: Thu, 3 Aug 2023 16:24:10 +0800 Subject: [PATCH] fix: editor-mode-switch animation should only run once (#3543) Co-authored-by: Alex Yang --- .../workspace-header/editor-mode-switch/switch-items.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/core/src/components/blocksuite/workspace-header/editor-mode-switch/switch-items.tsx b/apps/core/src/components/blocksuite/workspace-header/editor-mode-switch/switch-items.tsx index b26c0d4cd0..8244f8973f 100644 --- a/apps/core/src/components/blocksuite/workspace-header/editor-mode-switch/switch-items.tsx +++ b/apps/core/src/components/blocksuite/workspace-header/editor-mode-switch/switch-items.tsx @@ -50,7 +50,7 @@ export const PageSwitchItem = (