Fix animation and platform links

This commit is contained in:
Jorge Vargas 2025-06-23 14:25:46 -06:00
parent aef06c6737
commit 99d10f92cd

View file

@ -186,7 +186,7 @@ const coverImage = await getImage({
{platform.name} {platform.name}
</span> </span>
) : ( ) : (
<a class='btn btn-link p-0' href={`/platform/${id}`}> <a class='btn btn-link p-0' href={`/platform/${platform.id}`}>
{platform.name} {platform.name}
</a> </a>
)} )}
@ -221,7 +221,7 @@ const coverImage = await getImage({
<td> <td>
{album?.animations.map(({ animation }, i) => ( {album?.animations.map(({ animation }, i) => (
<Fragment key={id}> <Fragment key={id}>
<a class='btn btn-link p-0' href={`/anim/${id}`}> <a class='btn btn-link p-0' href={`/anim/${animation.id}`}>
{animation.title} {animation.title}
</a> </a>
{i !== album?.animations.length - 1 && ', '} {i !== album?.animations.length - 1 && ', '}