Between transitions keep only sorting
This commit is contained in:
parent
33164e5773
commit
7d61d36fc3
|
@ -26,7 +26,6 @@ var BarChart = React.createClass({
|
|||
componentWillReceiveProps: function(newProps) {
|
||||
this.setState({
|
||||
item: newProps.items[0],
|
||||
sort: 'commits',
|
||||
state: 'newProps'
|
||||
}, this.fetchData);
|
||||
},
|
||||
|
|
|
@ -23,7 +23,6 @@ var StackedAreaChart = React.createClass({
|
|||
componentWillReceiveProps: function(newProps) {
|
||||
this.setState({
|
||||
item: newProps.items[0],
|
||||
sort: 'commits',
|
||||
state: 'newProps'
|
||||
}, this.fetchData);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue