From e586f321abdce098ccde748ddc692c30772899a7 Mon Sep 17 00:00:00 2001 From: Phill Pover Date: Mon, 7 Apr 2025 05:54:51 +0100 Subject: [PATCH] Fixes --- frontend/src/app/album/[id]/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/album/[id]/page.tsx b/frontend/src/app/album/[id]/page.tsx index 6c50664..8e45ebe 100644 --- a/frontend/src/app/album/[id]/page.tsx +++ b/frontend/src/app/album/[id]/page.tsx @@ -75,7 +75,7 @@ export default function Page() { const data = await getSong(parseInt(songId)); setFormModalTitle("Edit Song"); setFormModalButtonLabel("Save"); - setFormSongId(data.id) + setFormSongId(songId) setFormAlbumId(albumId); setFormSongTitle(data.title); setFormSongDuration(data.duration);