mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 06:37:56 +01:00
Revert "Remove lazy loading for editor"
This reverts commit 1f7f84dcca
.
This commit is contained in:
parent
e28e68015f
commit
0cac062249
@ -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