Skip to content

Commit 4cb6e2f

Browse files
committed
styled-components v4 support
1 parent 154225f commit 4cb6e2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rect/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export default class Rect extends PureComponent {
138138

139139
return (
140140
<StyledRect
141-
innerRef={this.setElementRef}
141+
ref={this.setElementRef}
142142
onMouseDown={this.startDrag}
143143
className="rect single-resizer"
144144
style={style}

0 commit comments

Comments
 (0)