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

fix: migrate Link with a child #3645

Closed
wants to merge 1 commit into from
Closed

fix: migrate Link with a child #3645

wants to merge 1 commit into from

Conversation

mxyng
Copy link
Collaborator

@mxyng mxyng commented Nov 15, 2022

Summary

NextJS 13 renders as so an child will trigger a runtime exception. This updates the UI by removing the child using migration suggested by https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor

NextJS 13 renders <Link> as <a> so an <a> child will trigger a runtime
exception. This updates the UI by removing the <a> child using migration
suggested by https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor
@mxyng
Copy link
Collaborator Author

mxyng commented Nov 15, 2022

Closing for #3644

@mxyng mxyng closed this Nov 15, 2022
@mxyng mxyng deleted the mxyng/link-a branch February 13, 2023 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant