Disable tab pages
This commit is contained in:
parent
af9064a356
commit
686d0d0642
1 changed files with 2 additions and 2 deletions
|
|
@ -90,8 +90,8 @@ const PartyRoute: React.FC<Props> = ({
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
if (router.asPath !== '/new' && router.asPath !== '/')
|
// if (router.asPath !== '/new' && router.asPath !== '/')
|
||||||
router.replace(path, undefined, { shallow: true })
|
// router.replace(path, undefined, { shallow: true })
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the initial data from props
|
// Set the initial data from props
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue