mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 10:53:33 +00:00
fix song getting added twice to queue
This commit is contained in:
parent
5ab0eba23e
commit
24b9bf210c
1 changed files with 1 additions and 0 deletions
|
|
@ -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],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue