kopia lustrzana https://github.com/bugout-dev/moonstream
try 3
rodzic
dd0ea5bd41
commit
37c441066b
|
@ -119,9 +119,10 @@ const Homepage = () => {
|
|||
) {
|
||||
console.warn("redirect attempt..");
|
||||
if (typeof window !== "undefined") {
|
||||
router.replace(router.nextRouter.asPath, router.nextRouter.asPath, {
|
||||
shallow: false,
|
||||
});
|
||||
console.warn("window present");
|
||||
// router.replace(router.nextRouter.asPath, router.nextRouter.asPath, {
|
||||
// shallow: false,
|
||||
// });
|
||||
}
|
||||
}
|
||||
}, [isInit, router]);
|
||||
|
|
Ładowanie…
Reference in New Issue