Comment unused code and add TODO to handle scalar errors.

This commit is contained in:
Richard Lewis 2017-06-28 12:58:09 +01:00
parent d06d066050
commit e70eca0b0c

View file

@ -53,10 +53,12 @@ module.exports = React.createClass({
if (this.state.apps && this.state.apps.length < 1) { if (this.state.apps && this.state.apps.length < 1) {
this.onClickAddWidget(); this.onClickAddWidget();
} }
}, (err) => { // TODO -- Handle Scalar errors
this.setState({ // },
scalar_error: err, // (err) => {
}); // this.setState({
// scalar_error: err,
// });
}); });
} }
}, },