1
0
Fork 0

Between transitions keep only sorting

This commit is contained in:
Gregory Eremin 2015-03-14 23:23:15 +07:00
parent 33164e5773
commit 7d61d36fc3
2 changed files with 0 additions and 2 deletions

View File

@ -26,7 +26,6 @@ var BarChart = React.createClass({
componentWillReceiveProps: function(newProps) {
this.setState({
item: newProps.items[0],
sort: 'commits',
state: 'newProps'
}, this.fetchData);
},

View File

@ -23,7 +23,6 @@ var StackedAreaChart = React.createClass({
componentWillReceiveProps: function(newProps) {
this.setState({
item: newProps.items[0],
sort: 'commits',
state: 'newProps'
}, this.fetchData);
},