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