mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-24 23:37:57 +01:00
Remove lazy loading for editor
This commit is contained in:
parent
62de3c0d71
commit
1f7f84dcca
@ -16,8 +16,8 @@ import ReactGA from 'react-ga4';
|
||||
import AppConfig from './classes/app-config';
|
||||
import withSessionExpirationHandling from './components/HOCs/withSessionExpirationHandling';
|
||||
import RegistrationSuccessPage from './components/registration-success-page';
|
||||
import EditorPage from './components/editor-page';
|
||||
|
||||
const EditorPage = React.lazy(() => import('./components/editor-page'));
|
||||
const MapsPage = React.lazy(() => import('./components/maps-page'));
|
||||
|
||||
declare module '@mui/styles/defaultTheme' {
|
||||
|
@ -12,7 +12,7 @@ import InfoDialog from './info-dialog';
|
||||
import DeleteMultiselectDialog from './delete-multiselect-dialog';
|
||||
import ExportDialog from './export-dialog';
|
||||
import ShareDialog from './share-dialog';
|
||||
import LabelDialog from './label-dialog';
|
||||
// import LabelDialog from './label-dialog';
|
||||
import ReactGA from 'react-ga4';
|
||||
|
||||
export type BasicMapInfo = {
|
||||
@ -76,7 +76,7 @@ const ActionDispatcher = ({
|
||||
<ExportDialog onClose={handleOnClose} mapId={mapsId[0]} enableImgExport={fromEditor} />
|
||||
)}
|
||||
{action === 'share' && <ShareDialog onClose={handleOnClose} mapId={mapsId[0]} />}
|
||||
{action === 'label' && <LabelDialog onClose={handleOnClose} mapsId={mapsId} />}
|
||||
{/* {action === 'label' && <LabelDialog onClose={handleOnClose} mapsId={mapsId} />} */}
|
||||
</span>
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user