diff --git a/frontend/src/app/album/[id]/page.tsx b/frontend/src/app/album/[id]/page.tsx
index 028f935..585f7d0 100644
--- a/frontend/src/app/album/[id]/page.tsx
+++ b/frontend/src/app/album/[id]/page.tsx
@@ -46,7 +46,7 @@ export default function Page() {
const formData = new FormData(event.currentTarget);
try {
- if (StringUtils.isBlank(formData.get('id'))) {
+ if (StringUtils.isBlank(formData.get('id') as string)) {
const data = await createSong(formData);
console.log(data);
} else {
@@ -108,41 +108,39 @@ export default function Page() {
return (
<>
-
-
- {album.title} by {album.artist} ({album.genre})
-
-
-
-
-
-
-
- # |
- Title |
- Duration |
- Controls |
-
-
-
- {album.songs.map((song: Song) => (
-
- {song.trackNumber} |
- {song.title} |
- {TimeUtils.fancyTimeFormat(song.duration)} |
-
-
-
-
-
-
-
- |
-
- ))}
-
-
+
+ {album.title} by {album.artist} ({album.genre})
+
+
+
+
+
+
+ # |
+ Title |
+ Duration |
+ Controls |
+
+
+
+ {album.songs.map((song: Song) => (
+
+ {song.trackNumber} |
+ {song.title} |
+ {TimeUtils.fancyTimeFormat(song.duration)} |
+
+
+
+
+
+
+
+ |
+
+ ))}
+
+