refactor(useDrag): cleanup

This commit is contained in:
moklick
2022-05-25 13:01:10 +02:00
parent 32559efc8c
commit d7020cf6f7
-1
View File
@@ -89,7 +89,6 @@ function useDrag({
const pointerPos = getPointerPosition(event);
dragItems.current = getDragItems(nodeInternals, pointerPos, nodeId);
console.log(pointerPos);
if (onStart && dragItems.current) {
const [currentNode, nodes] = getEventHandlerParams({