mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
fix photoswipe
This commit is contained in:
parent
5e71294e71
commit
606700f5d2
3 changed files with 44 additions and 63 deletions
|
@ -1,3 +1,5 @@
|
|||
import { lazy } from 'react';
|
||||
|
||||
import { LoginDialog } from '~/containers/auth/LoginDialog';
|
||||
import { LoginSocialRegisterDialog } from '~/containers/auth/LoginSocialRegisterDialog';
|
||||
import { RestorePasswordDialog } from '~/containers/auth/RestorePasswordDialog';
|
||||
|
@ -6,9 +8,14 @@ import { TelegramAttachDialog } from '~/containers/auth/TelegramAttachDialog';
|
|||
import { EditorCreateDialog } from '~/containers/dialogs/EditorCreateDialog';
|
||||
import { EditorEditDialog } from '~/containers/dialogs/EditorEditDialog';
|
||||
import { LoadingDialog } from '~/containers/dialogs/LoadingDialog';
|
||||
import { PhotoSwipe } from '~/containers/dialogs/PhotoSwipe';
|
||||
import { TestDialog } from '~/containers/dialogs/TestDialog';
|
||||
|
||||
const PhotoSwipe = lazy(() =>
|
||||
import('~/containers/dialogs/PhotoSwipe').then((it) => ({
|
||||
default: it.PhotoSwipe,
|
||||
})),
|
||||
);
|
||||
|
||||
export enum Dialog {
|
||||
Login = 'Login',
|
||||
Register = 'Register',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue