handlePlay(playButtonBehavior)}
/>
{showGenres ? (
{detailQuery?.data?.genres?.map((genre) => (
))}
) : null}
{externalLinks && (lastFM || musicBrainz) ? (
{lastFM && (
)}
{mbzId && musicBrainz ? (
) : null}
) : null}
{biography ? (
{t('page.albumArtistDetail.about', {
artist: detailQuery?.data?.name,
})}
) : null}
{showTopSongs ? (
{t('page.albumArtistDetail.topSongs', {
postProcess: 'sentenceCase',
})}
) : null}
{carousels
.filter((c) => !c.isHidden)
.map((carousel) => (
{carousel.itemType === LibraryItem.ALBUM ? (
'query' in carousel &&
carousel.query &&
carousel.sortBy &&
carousel.sortOrder ? (
}>
) : null
) : carousel.itemType === LibraryItem.ALBUM_ARTIST ? (
'data' in carousel && carousel.data ? (
) : null
) : null}
))}