I’m using Svelte 5.
<a href="my-first-link">
<div>
<!-- Some elements -->
</div>
<a href="my-second-link">
<div>
<!-- Some other elements -->
</div>
</a>
<div>
<!-- Some elements -->
</div>
</a>
Svelte is throwing a lint error:
`<a>` is invalid inside `<a>`svelte(node_invalid_placement)
What is expected in this situation to fix this issue?
You need to sign in to view this answers