fix(core): ui flash when open setting modal (#7170)

fix TOV-909
This commit is contained in:
EYHN 2024-06-07 04:27:13 +00:00
parent 5855f72b5b
commit f20b78b824
No known key found for this signature in database
GPG Key ID: 46C9E26A75AB276C

View File

@ -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,