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

Invalid <Link> with <a> child #406

Closed
mateusfg7 opened this issue Dec 1, 2022 · 0 comments
Closed

Invalid <Link> with <a> child #406

mateusfg7 opened this issue Dec 1, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@mateusfg7
Copy link
Owner

Server Error

Error: Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.
Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
LinkComponent
node_modules/next/dist/client/link.js (252:22)
renderWithHooks
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (5658:16)
renderForwardRef
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (5842:18)
renderElement
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6005:11)
renderNodeDestructiveImpl
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6104:11)
renderNodeDestructive
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6076:14)
renderNode
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6259:12)
renderChildrenArray
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6211:7)
renderNodeDestructiveImpl
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6141:7)
renderNodeDestructive
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6076:14)

image

@mateusfg7 mateusfg7 added the bug Something isn't working label Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant