Add button for clearing current queue

This commit is contained in:
Lei Nelissen
2020-08-28 12:45:00 +02:00
parent 6e85013b5a
commit 8fac21f4d8
2 changed files with 12 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ export default function useCurrentTrack(): Track | undefined {
// GUARD: Only fetch current track if there is a current track
if (!currentTrackId) {
return;
setTrack(undefined);
}
// GUARD: Only retrieve new track if it is different from the one we