@@ -21,6 +21,7 @@ import {
|
|||||||
openSignOutModalAtom,
|
openSignOutModalAtom,
|
||||||
} from '../atoms';
|
} from '../atoms';
|
||||||
import { PaymentDisableModal } from '../components/affine/payment-disable';
|
import { PaymentDisableModal } from '../components/affine/payment-disable';
|
||||||
|
import { SettingModal } from '../components/affine/setting-modal';
|
||||||
import { MoveToTrash } from '../components/page-list';
|
import { MoveToTrash } from '../components/page-list';
|
||||||
import { useTrashModalHelper } from '../hooks/affine/use-trash-modal-helper';
|
import { useTrashModalHelper } from '../hooks/affine/use-trash-modal-helper';
|
||||||
import { useAsyncCallback } from '../hooks/affine-async-hooks';
|
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 { PeekViewManagerModal } from '../modules/peek-view';
|
||||||
import { WorkspaceSubPath } from '../shared';
|
import { WorkspaceSubPath } from '../shared';
|
||||||
|
|
||||||
const SettingModal = lazy(() =>
|
|
||||||
import('../components/affine/setting-modal').then(module => ({
|
|
||||||
default: module.SettingModal,
|
|
||||||
}))
|
|
||||||
);
|
|
||||||
|
|
||||||
const Auth = lazy(() =>
|
const Auth = lazy(() =>
|
||||||
import('../components/affine/auth').then(module => ({
|
import('../components/affine/auth').then(module => ({
|
||||||
default: module.AuthModal,
|
default: module.AuthModal,
|
||||||
|
|||||||
Reference in New Issue
Block a user