Skip to content

Commit 661a925

Browse files
committed
Use right variables
1 parent 44ade3f commit 661a925

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ResizableBox.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var ResizableBox = module.exports = React.createClass({
3838

3939
this.setState({width, height}, () => {
4040
if (this.props.onResize) {
41-
this.props.onResize(event, {element, size});
41+
this.props.onResize(event, {element, size: {width, height}});
4242
}
4343
});
4444
},

0 commit comments

Comments
 (0)