diff --git a/src/components/chat/ChatFlowList.jsx b/src/components/chat/ChatFlowList.jsx index 8f4dd39..c869b91 100644 --- a/src/components/chat/ChatFlowList.jsx +++ b/src/components/chat/ChatFlowList.jsx @@ -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 ||