Initial implementation of Import page, project cleanup

This commit is contained in:
2026-01-02 23:08:26 +05:00
parent 05814a100a
commit 885aab0d9d
8 changed files with 107 additions and 60 deletions

View File

@ -46,6 +46,7 @@ const { mutate: reorderTracks } = useMutation({
return { previousTracks };
},
onError: (err, { playlistId }, context) => {
console.log(err)
if (context?.previousTracks) {
queryClient.setQueryData(getGetPlaylistTracksQueryKey(playlistId), context.previousTracks);
}