-
+
+ {title}
+
+
+
+ );
}
diff --git a/client/app/routes/MediaItems/Track.tsx b/client/app/routes/MediaItems/Track.tsx
index 5690232..87ce4ea 100644
--- a/client/app/routes/MediaItems/Track.tsx
+++ b/client/app/routes/MediaItems/Track.tsx
@@ -33,7 +33,7 @@ export default function Track() {
title={track.title}
img={track.image}
id={track.id}
- musicbrainzId={album.musicbrainz_id}
+ musicbrainzId={track.musicbrainz_id}
imgItemId={track.album_id}
mergeFunc={mergeTracks}
mergeCleanerFunc={(r, id) => {
-
- {props.children}
+ console.log("MBZ:", props.musicbrainzId);
+
+ return (
+
-
-
-
-
- { user &&
- {props.type}
-{props.title}
- {props.subContent} -
- { props.type === "Track" &&
- <>
-
-
- >
- }
-
-
-
-
-
-
-
-
-
- }
-
+
+
+
+ {props.children}
+
+
+
+
+
+ {user && (
+ {props.type}
+{props.title}
+ {props.subContent} +
+ {props.musicbrainzId && (
+
+
+
+ )}
+ {props.type === "Track" && (
+ <>
+
+
+ >
+ )}
+
+
+ {props.type !== "Track" && (
+
+ )}
+
+
+
+
+
+
-
- );
+ )}
+