remove debug comment
This commit is contained in:
parent
2ce2580e8e
commit
2b851edb02
|
@ -58,12 +58,6 @@ export default function MyApp ({ Component, pageProps: { ...props } }) {
|
|||
// this nodata var will get passed to the server on back/foward and
|
||||
// 1. prevent data from reloading and 2. perserve scroll
|
||||
// (2) is not possible while intercepting nav with beforePopState
|
||||
|
||||
console.log({
|
||||
pathname: router.pathname,
|
||||
query: { ...router.query, nodata: true }
|
||||
}, router.asPath, { ...router.options, shallow: true })
|
||||
|
||||
router.replace({
|
||||
pathname: router.pathname,
|
||||
query: { ...router.query, nodata: true }
|
||||
|
|
Loading…
Reference in New Issue