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);