Next.js Discord

Discord Forum

Next 13 - useRouter error in production

Unanswered
Spectacled Caiman posted this in #help-forum
Open in Discord
Avatar
Spectacled CaimanOP
when I use router.refresh() it work perfectly in local but after deploy production, it throws error like under image
- after login, i use router.refresh() to render all component
- please help me
Image

0 Replies