Compare commits

...

2 Commits

Author SHA1 Message Date
seb
6851e7c16f fix(lieferung): lazy load neu component in deliveryId route 2026-10-28 22:27:34 +01:00
seb
6e9d706bd6 u 2026-10-28 22:26:54 +01:00
2 changed files with 4 additions and 2 deletions

View File

@@ -30,6 +30,7 @@ import EditNoteIcon from '@mui/icons-material/EditNote';
import PaidRoundedIcon from '@mui/icons-material/PaidRounded';
import Button from '@mui/material/Button';
import { enqueueSnackbar } from 'notistack';
import { router } from '../../appRouter';
import deliveryEditorAutomat from '../../automats/deliveryEditorAutomat';
import { setLastDeliveryPath } from '../../automats/navigationAutomat';
import HealingMarkdown from './HealingMarkdown';
@@ -578,7 +579,6 @@ class DraftDeliveryManifestUseButton extends PureComponent {
);
try {
const { router } = await import('../../appRouter');
if (router?.navigate) {
const curPath =
router.state?.location?.pathname ||

View File

@@ -1,4 +1,6 @@
import { lazy } from 'react';
import { withManifestId } from '../../components/manifest';
import LieferungNeuPage from './neu';
const LieferungNeuPage = lazy(() => import('./neu'));
export default withManifestId('deliveryId', LieferungNeuPage);