There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(core): about setting blink issue (#5399)
Peng Xiaofafcfbce6da6
diff --git a/packages/frontend/core/src/components/affine/setting-modal/index.tsx b/packages/frontend/core/src/components/affine/setting-modal/index.tsxindex 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 = ({><div ref={modalContentRef} className={style.centerContainer}><div className={style.content}>- {activeTab === 'workspace' && workspaceMetadata ? (- <Suspense fallback={<WorkspaceDetailSkeleton />}>+ <Suspense fallback={<WorkspaceDetailSkeleton />}>+ {activeTab === 'workspace' && workspaceMetadata ? (<WorkspaceSettingkey={workspaceMetadata.id}workspaceMetadata={workspaceMetadata}/>- </Suspense>- ) : null}- {generalSettingList.some(v => v.key === activeTab) ? (- <GeneralSetting generalKey={activeTab as GeneralSettingKeys} />- ) : null}- {activeTab === 'account' && loginStatus === 'authenticated' ? (- <AccountSetting />- ) : null}+ ) : null}+ {generalSettingList.some(v => v.key === activeTab) ? (+ <GeneralSetting generalKey={activeTab as GeneralSettingKeys} />+ ) : null}+ {activeTab === 'account' && loginStatus === 'authenticated' ? (+ <AccountSetting />+ ) : null}+ </Suspense></div><div className={style.footer}><a