Next13 updated how Link tags work. They no longer allow <a> tags within the Links and should be removed. The codemod added a legacyBehavior prop for the components it couldn't remove the anchors automatically.
Hmm, didn't the codemod catch this one? I'm reading the `<a>` tag within link should be just removed. Not sure what's better, because that might come with some regression
Next13 updated how Link tags work. They no longer allow
<a>
tags within the Links and should be removed. The codemod added alegacyBehavior
prop for the components it couldn't remove the anchors automatically.nextjs13 migration docs
_Originally posted by @therungg in https://github.com/therungg/therun-frontend/pull/33#discussion_r1197075421_
Acceptance criteria
Link
tags with nesteda
tagsa
tags as they are automatically created by theLink
legacyBehavior
prop from theLink
if it has been added