Skip to content

Commit d769804

Browse files
suriyadavidguttman
authored andcommitted
Use latest props to construct dataframe (#70)
1 parent 73fac3a commit d769804

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ module.exports = createReactClass({
7979
if(newProps.rows !== this.props.rows) {
8080
this.dataFrame = DataFrame({
8181
rows: newProps.rows,
82-
dimensions: this.props.dimensions,
83-
reduce: this.props.reduce
82+
dimensions: newProps.dimensions,
83+
reduce: newProps.reduce
8484
})
8585

8686
this.updateRows()

0 commit comments

Comments
 (0)