set playlist tracks state on reorder

This commit is contained in:
Violet Caulfield
2025-02-06 10:24:39 -06:00
parent 1c1aa26a68
commit 618c5e9efd
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
![Jellify App Icon](assets/icon_dark_60pt_3x.png)
# Jellify
# Jellify
jellify (verb) - to make gelatinous

View File

@@ -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}