diff --git a/frontend/src/components/ReportTopGenres.tsx b/frontend/src/components/ReportTopGenres.tsx index e8f17ed..e9147c0 100644 --- a/frontend/src/components/ReportTopGenres.tsx +++ b/frontend/src/components/ReportTopGenres.tsx @@ -59,6 +59,7 @@ export const ReportTopGenres: React.FC = () => { {reportHasItems && topGenres.map(({ genre, artists, count }) => ( = ({ genre, artists, count, maxCount }) => { const artistList = artists .map(({ artist, count: artistCount }) => ( - + )) // @ts-expect-error .reduce((acc, curr) => (acc === null ? [curr] : [acc, ", ", curr]), null); return ( { )} {reportHasItems && topTracks.map(({ track, count }) => ( - + ))} @@ -72,7 +77,6 @@ const ReportItem: React.FC<{ return ( = ({ - key, title, subTitle, count, maxCount, }) => { return ( -
+