Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need support for Next.js 13 /app dir. #78

Open
bezzietech opened this issue Jul 9, 2023 · 1 comment
Open

Need support for Next.js 13 /app dir. #78

bezzietech opened this issue Jul 9, 2023 · 1 comment

Comments

@bezzietech
Copy link

The current router only supports /pages, which throws the following error if we used in /app.

Unhandled Runtime Error
Error: NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted

FIX

Migrate to the new hooks imported from next/navigation. NextJs Docs

@karthi-21
Copy link

Created a PR for this, check and let me know if this fixes the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants