Update DraggableComponent.tsx
This commit is contained in:
parent
68ff244569
commit
a833508614
|
@ -20,7 +20,7 @@ const dragSource = {
|
|||
const didDrop = monitor.didDrop();
|
||||
|
||||
if (!didDrop) {
|
||||
props.moveField(droppedKey, originalIndex);
|
||||
props.moveField(droppedKey, props.index);
|
||||
}
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue