Skip to content

Commit 83b4a2d

Browse files
committed
fix(useDraggableSort): properly track childrenIds
1 parent c7e68f4 commit 83b4a2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/sort/hooks/useDraggableSort.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export const useDraggableSort = ({
109109
runOnJS(onOrderChange)(draggableSortOrder.value);
110110
}
111111
},
112-
[onOrderChange],
112+
[childrenIds, onOrderChange],
113113
);
114114

115115
// Track active layout changes and update the placeholder index

0 commit comments

Comments
 (0)