refactor(useDrag): cleanup
This commit is contained in:
@@ -89,7 +89,6 @@ function useDrag({
|
|||||||
|
|
||||||
const pointerPos = getPointerPosition(event);
|
const pointerPos = getPointerPosition(event);
|
||||||
dragItems.current = getDragItems(nodeInternals, pointerPos, nodeId);
|
dragItems.current = getDragItems(nodeInternals, pointerPos, nodeId);
|
||||||
console.log(pointerPos);
|
|
||||||
|
|
||||||
if (onStart && dragItems.current) {
|
if (onStart && dragItems.current) {
|
||||||
const [currentNode, nodes] = getEventHandlerParams({
|
const [currentNode, nodes] = getEventHandlerParams({
|
||||||
|
|||||||
Reference in New Issue
Block a user