File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ export const DragAndDropProvider: React.FC<React.PropsWithChildren> = ({
190190 } ) ;
191191
192192 const onStartDraggingItems = useCallback (
193- ( items , treeId ) => {
193+ ( items : TreeItem [ ] , treeId : string ) => {
194194 const treeViableDragPositions = buildMapForTrees (
195195 environment . treeIds ,
196196 treeId => getViableDragPositions ( treeId , items )
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ export const useDraggingPosition = () => {
143143 ) ;
144144
145145 const initiateDraggingPosition = useStableHandler (
146- ( items : TreeItem [ ] , treeId : string ) => {
146+ ( treeId : string , items : TreeItem [ ] ) => {
147147 setDraggingItems ( items ) ;
148148 dragCode . current = 'initial' ;
149149 itemHeight . current = computeItemHeight ( treeId ) ;
You can’t perform that action at this time.
0 commit comments