Comment unused code and add TODO to handle scalar errors.
This commit is contained in:
parent
d06d066050
commit
e70eca0b0c
1 changed files with 6 additions and 4 deletions
|
@ -53,10 +53,12 @@ module.exports = React.createClass({
|
|||
if (this.state.apps && this.state.apps.length < 1) {
|
||||
this.onClickAddWidget();
|
||||
}
|
||||
}, (err) => {
|
||||
this.setState({
|
||||
scalar_error: err,
|
||||
});
|
||||
// TODO -- Handle Scalar errors
|
||||
// },
|
||||
// (err) => {
|
||||
// this.setState({
|
||||
// scalar_error: err,
|
||||
// });
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue