DEV Community

Discussion on: Implement Protected Routes in NextJS

Collapse
 
shubhamverma profile image
Shubham Verma

You could try removing the Router.replace("/"), by returning some JSX like "Verifyiing" or something