mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
Update playqueueadd props
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user