From 1f7f84dccaa548279a2b4a24e4fe33aeb12d28c3 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Wed, 16 Nov 2022 17:10:40 -0800 Subject: [PATCH] Remove lazy loading for editor --- packages/webapp/src/app.tsx | 2 +- .../src/components/maps-page/action-dispatcher/index.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/webapp/src/app.tsx b/packages/webapp/src/app.tsx index a84e6e7b..261f3cc1 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 5e00a6ec..cc82f52f 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' && } */} ); };