Update playqueueadd props

This commit is contained in:
jeffvli 2023-05-20 14:55:08 -07:00
parent 7dd56bfb9b
commit 02caf896ff
24 changed files with 53 additions and 44 deletions

View file

@ -165,7 +165,7 @@ export const AlbumListHeader = ({
const handlePlayQueueAdd = usePlayQueueAdd();
const playButtonBehavior = usePlayButtonBehavior();
const handlePlay = async (play: Play) => {
const handlePlay = async (playType: Play) => {
if (!itemCount || itemCount === 0) return;
const query = {
@ -198,7 +198,7 @@ export const AlbumListHeader = ({
id: albumIds,
type: LibraryItem.ALBUM,
},
play,
playType,
});
};