Skip to content

Commit aeb8238

Browse files
committed
Omit componentRef from DropAreaHOC's passed props
1 parent f425b27 commit aeb8238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/drop-area-hoc.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const DropAreaHOC = function (dragTypes) {
7878
}
7979
}
8080
render () {
81-
const componentProps = omit(this.props, ['onDrop', 'dragInfo']);
81+
const componentProps = omit(this.props, ['onDrop', 'dragInfo', 'componentRef']);
8282
return (
8383
<WrappedComponent
8484
containerRef={this.setRef}

0 commit comments

Comments
 (0)