refactor anime page to use song entry component

This commit is contained in:
2026-02-06 00:28:44 -08:00
parent 4169480381
commit b7f92e2355
3 changed files with 82 additions and 57 deletions

View File

@@ -112,7 +112,7 @@ export async function getAnimeWithSongsByAnnId(db: ClientDb, annId: number) {
.orderBy(desc(animeSongLinks.type), desc(animeSongLinks.number));
return {
anime,
anime: foundAnime,
songs: rows.map((r) => ({
annSongId: r.annSongId,
type: r.type,