Skip to content
Snippets Groups Projects
Unverified Commit 501caf77 authored by adroitwhiz's avatar adroitwhiz Committed by GitHub
Browse files

Merge pull request #5643 from adroitwhiz/fix-stage-costume-drag

Omit componentRef from DropAreaHOC's passed props
parents cc22bfc6 aeb8238e
No related branches found
Tags 0.1.0-prerelease.20200512220043
No related merge requests found
......@@ -78,7 +78,7 @@ const DropAreaHOC = function (dragTypes) {
}
}
render () {
const componentProps = omit(this.props, ['onDrop', 'dragInfo']);
const componentProps = omit(this.props, ['onDrop', 'dragInfo', 'componentRef']);
return (
<WrappedComponent
containerRef={this.setRef}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment