fix song getting added twice to queue

This commit is contained in:
DerPenz 2025-08-03 17:19:07 +02:00
parent 5ab0eba23e
commit 24b9bf210c

View file

@ -37,6 +37,7 @@ export const LibraryCommandItem = ({
const handlePlay = useCallback(
(e: SyntheticEvent, id: string, playType: Play) => {
e.stopPropagation();
e.preventDefault();
handlePlayQueueAdd?.({
byItemType: {
id: [id],