Replies: 1 comment 2 replies
-
Shouldn't this part: if(patientToken){
notFound();
} Be: if(!patientToken){
notFound();
} Also, the Register page's rendering should be deferred to client side. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
i am using next.js for my client side only . and authentication are done throw
after completing otp verification i sotore access token in the localstorage
and according to user has token on localstorage i need to render some pages like profile and not to render singin, singup, otp page and all
but when i render like this getting error
Additional information
Example
https://avm-care.vercel.app/
Beta Was this translation helpful? Give feedback.
All reactions