Update DraggableComponent.tsx

This commit is contained in:
Kman1131 2021-02-07 19:13:40 +13:00 committed by GitHub
parent 68ff244569
commit a833508614
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ const dragSource = {
const didDrop = monitor.didDrop();
if (!didDrop) {
props.moveField(droppedKey, originalIndex);
props.moveField(droppedKey, props.index);
}
},
};