Skip to content

Commit

Permalink
fix(useDraggableSort): properly track childrenIds
Browse files Browse the repository at this point in the history
  • Loading branch information
mgcrea committed Dec 12, 2024
1 parent c7e68f4 commit 83b4a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/sort/hooks/useDraggableSort.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export const useDraggableSort = ({
runOnJS(onOrderChange)(draggableSortOrder.value);
}
},
[onOrderChange],
[childrenIds, onOrderChange],
);

// Track active layout changes and update the placeholder index
Expand Down

0 comments on commit 83b4a2d

Please sign in to comment.