Next router.Push("/dashboard") is not working with nested path instead of root "/" #50167
Unanswered
ABIDULLAH786
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i want to use the nookies to set the cookies when the user response is get from server and based on response. and after that i am want to redirect the user to "/dasboard" .
It saves the cookies to the specific path but unable to redirect the user to mentioned route.
here is the code
`
const saveUserDetails = async () => {
// ... your login logic
`
Beta Was this translation helpful? Give feedback.
All reactions