diff --git a/packages/webapp/src/app.tsx b/packages/webapp/src/app.tsx index 261f3cc1..a84e6e7b 100644 --- a/packages/webapp/src/app.tsx +++ b/packages/webapp/src/app.tsx @@ -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' { diff --git a/packages/webapp/src/components/maps-page/action-dispatcher/index.tsx b/packages/webapp/src/components/maps-page/action-dispatcher/index.tsx index cc82f52f..5e00a6ec 100644 --- a/packages/webapp/src/components/maps-page/action-dispatcher/index.tsx +++ b/packages/webapp/src/components/maps-page/action-dispatcher/index.tsx @@ -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 = ({ )} {action === 'share' && } - {/* {action === 'label' && } */} + {action === 'label' && } ); };