use ItemImage in library header

This commit is contained in:
jeffvli
2025-12-30 16:17:37 -08:00
parent 4e213ea79e
commit 7aeadb531f
5 changed files with 31 additions and 18 deletions
@@ -94,7 +94,12 @@ export const PlaylistDetailSongListHeader = ({
) : (
<LibraryHeader
imageUrl={imageUrl}
item={{ route: AppRoute.PLAYLISTS, type: LibraryItem.PLAYLIST }}
item={{
imageId: detailQuery?.data?.imageId,
imageUrl: detailQuery?.data?.imageUrl,
route: AppRoute.PLAYLISTS,
type: LibraryItem.PLAYLIST,
}}
title={detailQuery?.data?.name}
>
<LibraryHeaderMenu