mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
Merge pull request #1044 from Der-Penz/development
fix song getting added twice to queue when using tab navigation in command palette
This commit is contained in:
@@ -37,6 +37,7 @@ export const LibraryCommandItem = ({
|
|||||||
const handlePlay = useCallback(
|
const handlePlay = useCallback(
|
||||||
(e: SyntheticEvent, id: string, playType: Play) => {
|
(e: SyntheticEvent, id: string, playType: Play) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
e.preventDefault();
|
||||||
handlePlayQueueAdd?.({
|
handlePlayQueueAdd?.({
|
||||||
byItemType: {
|
byItemType: {
|
||||||
id: [id],
|
id: [id],
|
||||||
|
|||||||
Reference in New Issue
Block a user