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
|
||||
}
|
||||
|
||||
if (router.asPath !== '/new' && router.asPath !== '/')
|
||||
router.replace(path, undefined, { shallow: true })
|
||||
// if (router.asPath !== '/new' && router.asPath !== '/')
|
||||
// router.replace(path, undefined, { shallow: true })
|
||||
}
|
||||
|
||||
// Set the initial data from props
|
||||
|
|
|
|||
Loading…
Reference in a new issue