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): ui flash when open setting modal (#7170)
EYHNf20b78b8246b
diff --git a/packages/frontend/core/src/providers/modal-provider.tsx b/packages/frontend/core/src/providers/modal-provider.tsxindex af620f1f63..1a77b73088 100644--- a/packages/frontend/core/src/providers/modal-provider.tsx+++ b/packages/frontend/core/src/providers/modal-provider.tsx@@ -21,6 +21,7 @@ import {openSignOutModalAtom,} from '../atoms';import { PaymentDisableModal } from '../components/affine/payment-disable';+import { SettingModal } from '../components/affine/setting-modal';import { MoveToTrash } from '../components/page-list';import { useTrashModalHelper } from '../hooks/affine/use-trash-modal-helper';import { useAsyncCallback } from '../hooks/affine-async-hooks';@@ -29,12 +30,6 @@ import { AuthService } from '../modules/cloud/services/auth';import { PeekViewManagerModal } from '../modules/peek-view';import { WorkspaceSubPath } from '../shared';-const SettingModal = lazy(() =>- import('../components/affine/setting-modal').then(module => ({- default: module.SettingModal,- }))-);-const Auth = lazy(() =>import('../components/affine/auth').then(module => ({default: module.AuthModal,