-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[examples] Updating the Link component example for the Next.js App Router #38746
Comments
I couldn't reproduce the issue. It's working fine on using |
I come across this in the repo: |
@Yedidya10 thanks for repo, please add steps for how to reproduce the issue |
For sure.
And the errors will come up |
Is it really because of I have opened a PR to update the Link component example for Next.js 13 but the only notable change is related to the child |
Duplicates
Related page
https://github.com/mui/material-ui/blob/v5.14.7/examples/material-ui-nextjs-pages-router-ts/src/Link.tsx
Kind of issue
Missing information
Issue description
I thought that if I change the lines of code related to usePathname (due to the update in Next version 13) it will work,
but I get 3 errors in the browser:
First 2 error messages:
Third error message:
Context 🔦
It would be great if someone could update the example to work in the latest version.
The text was updated successfully, but these errors were encountered: