Fix play single song action

This commit is contained in:
Deluan 2021-07-03 22:29:59 -04:00 committed by Joe Stump
parent ea2e3b692d
commit f90c0773bb
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

View File

@ -62,7 +62,7 @@ const reducePlayTracks = (state, { data, id }) => {
const reduceSetTrack = (state, { data }) => {
return {
...state,
queue: [mapToAudioLists(0, data)],
queue: [mapToAudioLists(data)],
playIndex: 0,
clear: true,
}