Reformat code with Prettier's new rules.
This commit is contained in:
@@ -55,7 +55,7 @@ const mapToAudioLists = (item) => {
|
||||
updatedAt: item.updatedAt,
|
||||
album: item.album,
|
||||
},
|
||||
300
|
||||
300,
|
||||
),
|
||||
}
|
||||
}
|
||||
@@ -140,7 +140,7 @@ const reduceSyncQueue = (state, { data: { audioInfo, audioLists } }) => {
|
||||
const reduceCurrent = (state, { data }) => {
|
||||
const current = data.ended ? {} : data
|
||||
const savedPlayIndex = state.queue.findIndex(
|
||||
(item) => item.uuid === current.uuid
|
||||
(item) => item.uuid === current.uuid,
|
||||
)
|
||||
return {
|
||||
...state,
|
||||
|
||||
Reference in New Issue
Block a user