NextRouter was not mounted error. But I do not use router, bug ?
Unanswered
Gharial posted this in #help-forum
GharialOP
Hello, I've been getting a very disturbing error that is really bothering me, i've tried everything to mind.
I'm trying to make a reset password flow for my Supabase auth page. I'm using App router, Nextjs 14.2.4, react-hook-form from shadcn form component.
I have a change-password page that gets the code in url through searchparams in props.
I do not use router anywhere in file, layout, or imports.
It is pretty straightforward and I never seen a bug for this before.
I use searchparams the same way in other places of my app without problem.
Also, the error message indicates my zodresolver for unknown reasons (see image)
here's the stack trace and related files : https://filebin.net/smtqsegxa12e36cd
page.tsx is my change-password page
Please help me 🙏
I'm trying to make a reset password flow for my Supabase auth page. I'm using App router, Nextjs 14.2.4, react-hook-form from shadcn form component.
I have a change-password page that gets the code in url through searchparams in props.
I do not use router anywhere in file, layout, or imports.
It is pretty straightforward and I never seen a bug for this before.
I use searchparams the same way in other places of my app without problem.
Also, the error message indicates my zodresolver for unknown reasons (see image)
here's the stack trace and related files : https://filebin.net/smtqsegxa12e36cd
page.tsx is my change-password page
Please help me 🙏