Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfeng33 committed Jan 22, 2025
1 parent 8531a17 commit ced705a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/dnd/src/hooks/useDropNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const useDropNode = (
if (!(dragItem as ElementDragItemNode).id) {
const result = getDropPath(editor, {
canDropNode,
dragItem: dragItem,
dragItem,
element,
monitor,
nodeRef,
Expand Down
2 changes: 1 addition & 1 deletion packages/dnd/src/transforms/onHoverNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const onHoverNode = (
// Check if the drop would actually move the node.
const result = getDropPath(editor, {
canDropNode,
dragItem: dragItem,
dragItem,
element,
monitor,
nodeRef,
Expand Down

0 comments on commit ced705a

Please sign in to comment.