Skip to content

Commit

Permalink
fix: accept props can not update (#2732) (#2936)
Browse files Browse the repository at this point in the history
  • Loading branch information
yehuozhili committed Feb 9, 2021
1 parent f2d3b1f commit b86b7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-dnd/src/hooks/internal/drop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ export function useDropHandler<
connector.receiveHandlerId(handlerId)
return unregister
},
[monitor, connector],
[monitor, connector, spec.current.accept],
)
}

0 comments on commit b86b7a4

Please sign in to comment.