mirror of
https://github.com/Jellify-Music/App.git
synced 2026-01-07 19:40:19 -06:00
set playlist tracks state on reorder
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||

|
||||
# Jellify
|
||||
# Jellify
|
||||
|
||||
jellify (verb) - to make gelatinous
|
||||
|
||||
|
||||
@@ -81,6 +81,7 @@ export default function Playlist({
|
||||
)}
|
||||
numColumns={1}
|
||||
onDragEnd={({ data, from, to }) => {
|
||||
setPlaylistTracks(data);
|
||||
reorderPlaylist(playlist.Id!, data[to].Id!, to)
|
||||
}}
|
||||
refreshing={isPending}
|
||||
|
||||
Reference in New Issue
Block a user