From fafcfbce6da6c2e1df46f81167dfed40d1d5294f Mon Sep 17 00:00:00 2001 From: Peng Xiao Date: Tue, 26 Dec 2023 07:47:11 +0000 Subject: [PATCH] fix(core): about setting blink issue (#5399) --- .../components/affine/setting-modal/index.tsx | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/frontend/core/src/components/affine/setting-modal/index.tsx b/packages/frontend/core/src/components/affine/setting-modal/index.tsx index 8c33e1b645..b92abedf63 100644 --- a/packages/frontend/core/src/components/affine/setting-modal/index.tsx +++ b/packages/frontend/core/src/components/affine/setting-modal/index.tsx @@ -126,20 +126,20 @@ export const SettingModal = ({ >
- {activeTab === 'workspace' && workspaceMetadata ? ( - }> + }> + {activeTab === 'workspace' && workspaceMetadata ? ( - - ) : null} - {generalSettingList.some(v => v.key === activeTab) ? ( - - ) : null} - {activeTab === 'account' && loginStatus === 'authenticated' ? ( - - ) : null} + ) : null} + {generalSettingList.some(v => v.key === activeTab) ? ( + + ) : null} + {activeTab === 'account' && loginStatus === 'authenticated' ? ( + + ) : null} +