Router not working #64675
Unanswered
devDalys
asked this question in
App Router
Router not working
#64675
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have component for logout (http only cookie, not available from document.location, so im using request with Set-cookie)

And router.push('/') does absolutely nothing in the production build, the screenshot shows a variant with router.refresh() which also fails to work
in development mode everything works stably
this isn't the only place I'm encountering this, but there shouldn't be any "buts" as to why it might not work here
What am I doing wrong? And this behavior is not very stable either
In some random scenario, the transition does happen.
The request is exactly 200, then exactly works.
Beta Was this translation helpful? Give feedback.
All reactions