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} +