From fe59011882d5dbf3ab5defae1af928a8981fe0e8 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Sat, 20 May 2023 02:26:24 -0700 Subject: [PATCH] Fix conditionals on album artist detail --- .../artists/components/album-artist-detail-content.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/renderer/features/artists/components/album-artist-detail-content.tsx b/src/renderer/features/artists/components/album-artist-detail-content.tsx index ad782174..227b97ba 100644 --- a/src/renderer/features/artists/components/album-artist-detail-content.tsx +++ b/src/renderer/features/artists/components/album-artist-detail-content.tsx @@ -357,7 +357,7 @@ export const AlbumArtistDetailContent = () => { - {showGenres && ( + {showGenres ? ( {detailQuery?.data?.genres?.map((genre) => ( @@ -377,7 +377,7 @@ export const AlbumArtistDetailContent = () => { ))} - )} + ) : null} {showBiography ? ( { /> ) : null} - {showTopSongs && ( + {showTopSongs ? ( { onRowDoubleClicked={handleRowDoubleClick} /> - )} + ) : null} {carousels