Skip to content

Commit 501caf7

Browse files
authored
Merge pull request scratchfoundation#5643 from adroitwhiz/fix-stage-costume-drag
Omit componentRef from DropAreaHOC's passed props
2 parents cc22bfc + aeb8238 commit 501caf7

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)