fix for the mysterious bug :)
This commit is contained in:
@@ -38,9 +38,11 @@ var ItemWithDetailsPage = React.createClass({
|
||||
},
|
||||
|
||||
_onChange: function () {
|
||||
this.setState({
|
||||
item: ItemStore.getSelectedItem()
|
||||
});
|
||||
if(this.isMounted()) {
|
||||
this.setState({
|
||||
item: ItemStore.getSelectedItem()
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
getInitialState: function () {
|
||||
|
||||
Reference in New Issue
Block a user