From 24b9bf210c947a01120843b2d712049c6ad3736b Mon Sep 17 00:00:00 2001 From: DerPenz Date: Sun, 3 Aug 2025 17:19:07 +0200 Subject: [PATCH] fix song getting added twice to queue --- src/renderer/features/search/components/library-command-item.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer/features/search/components/library-command-item.tsx b/src/renderer/features/search/components/library-command-item.tsx index 8a9e8073..aa275315 100644 --- a/src/renderer/features/search/components/library-command-item.tsx +++ b/src/renderer/features/search/components/library-command-item.tsx @@ -37,6 +37,7 @@ export const LibraryCommandItem = ({ const handlePlay = useCallback( (e: SyntheticEvent, id: string, playType: Play) => { e.stopPropagation(); + e.preventDefault(); handlePlayQueueAdd?.({ byItemType: { id: [id],