mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-07 18:58:38 +01:00
Reformat code with Prettier's new rules.
This commit is contained in:
parent
735d670a5b
commit
86757663d6
82 changed files with 236 additions and 222 deletions
|
|
@ -72,7 +72,7 @@ export const AddToPlaylistDialog = () => {
|
|||
const tracks = res.json
|
||||
if (tracks) {
|
||||
const dupSng = tracks.filter((song) =>
|
||||
selectedIds.some((id) => id === song.mediaFileId)
|
||||
selectedIds.some((id) => id === song.mediaFileId),
|
||||
)
|
||||
|
||||
if (dupSng.length) {
|
||||
|
|
@ -128,7 +128,7 @@ export const AddToPlaylistDialog = () => {
|
|||
}
|
||||
const handleSkip = () => {
|
||||
const distinctSongs = selectedIds.filter(
|
||||
(id) => duplicateIds.indexOf(id) < 0
|
||||
(id) => duplicateIds.indexOf(id) < 0,
|
||||
)
|
||||
value.slice(-1).pop().distinctIds = distinctSongs
|
||||
dispatch(closeDuplicateSongDialog())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue