Fix conditionals on album artist detail

This commit is contained in:
jeffvli 2023-05-20 02:26:24 -07:00
parent c854fd0a5b
commit fe59011882

View file

@ -357,7 +357,7 @@ export const AlbumArtistDetailContent = () => {
</Group>
</Group>
</Box>
{showGenres && (
{showGenres ? (
<Box component="section">
<Group spacing="sm">
{detailQuery?.data?.genres?.map((genre) => (
@ -377,7 +377,7 @@ export const AlbumArtistDetailContent = () => {
))}
</Group>
</Box>
)}
) : null}
{showBiography ? (
<Box
component="section"
@ -397,7 +397,7 @@ export const AlbumArtistDetailContent = () => {
/>
</Box>
) : null}
{showTopSongs && (
{showTopSongs ? (
<Box component="section">
<Group
noWrap
@ -444,7 +444,7 @@ export const AlbumArtistDetailContent = () => {
onRowDoubleClicked={handleRowDoubleClick}
/>
</Box>
)}
) : null}
<Box component="section">
<Stack spacing="xl">
{carousels