client: fix sending multiple requests

on songlist click
This commit is contained in:
geoffrey45
2021-12-22 09:22:22 +03:00
parent 36999d8061
commit 81c8ae8629
7 changed files with 151 additions and 47 deletions
-1
View File
@@ -19,7 +19,6 @@ const getQueue = async (type, id) => {
}
const data = await res.json();
localStorage.setItem("queue", JSON.stringify(data.songs));
return data.songs;
};