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

@ -89,14 +89,14 @@ export const LibraryCommandItem = ({
}
const handlePlay = useCallback(
(e: MouseEvent, id: string, play: Play) => {
(e: MouseEvent, id: string, playType: Play) => {
e.stopPropagation();
handlePlayQueueAdd?.({
byItemType: {
id,
type: itemType,
},
play,
playType,
});
},
[handlePlayQueueAdd, itemType],