Server errors caused by a tag within href #70315
Replies: 2 comments
-
The error page explained it pretty well. Do you happen to have code like <Link>
<a>...</a>
</Link> in your page? |
Beta Was this translation helpful? Give feedback.
-
Hi, In previous versions of Next.js, you needed to wrap These days, you can skip the Anyhow, you just need to remove The problem is that, such a thing is not always straight forward. It can be that a library you have installed is doing this instead, see: #42994, specifically, this updated comment by the OP: #42994 (comment) |
Beta Was this translation helpful? Give feedback.
-
Summary
Whenever i try to render a page,this is what is rather rendered 'Server Error
Error: Invalid with child. Please remove or use .
Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor'
What is to be done, am using T3 Stack template
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions