Next.js Discord

Discord Forum

useRouter not working as properly in standalone

Unanswered
Wuchang bream posted this in #help-forum
Open in Discord
Wuchang breamOP
In the development mode its work properly but when I build it and run standalone project its not work. set cookies work properly but not router.push("/dashboard");

when again i reload the browser then click the handleLogin then it's work properly and redirect in the dashboard.

1 Reply

Wuchang breamOP
@Southern rough shrimp sorry for mention can you help me?