Closed juanbzpy closed 5 years ago
We can't access Router directly from next/router so we should use instead a callback function so the user can handle the redirection or whatever they want to do afterwards
Router
next/router
We can't access
Router
directly fromnext/router
so we should use instead a callback function so the user can handle the redirection or whatever they want to do afterwards