pull/66/head
Tim Pechersky 2021-08-05 18:11:37 +08:00
rodzic dd0ea5bd41
commit 37c441066b
1 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -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]);