Skip to content

Commit

Permalink
fix: tiny cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
darthtrevino committed Mar 26, 2019
1 parent 6440c54 commit 9992e3b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/react-dnd/src/createTargetFactory.ts
Expand Up @@ -45,11 +45,7 @@ class TargetImpl<Props> implements Target {
if (!this.spec.hover) {
return
}
this.spec.hover(
this.props as Props,
this.monitor,
getDecoratedComponent(this.ref),
)
this.spec.hover(this.props!, this.monitor, getDecoratedComponent(this.ref))
}

public drop() {
Expand Down

0 comments on commit 9992e3b

Please sign in to comment.