The expected behavior for my website is that these cards render like in the first image, but it's rendering like in the second image (for the first two seconds, which causes a hydration error).
Here's the snippet of code which makes the error happen:
<p className="text-neutral-400 font-semibold text-xs">
{authors.map((author, i) =>
<span key={i}>
<Link
href={`/artist/test`}
className="hover:underline"
>
{author}
</Link>
{i < authors.length - 1 && (
', '
)}
</span>
)}
</p>
The thing that causes the cards to render wrong is the "Link" component, the author's in the card are supposed to be routable, but when adding the Link, it screws the whole component up. The third image shows how it renders in the html (the content being outside of the <a> tag).