mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-12 03:07:41 +03:00
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) {
|
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,
|
||||||
|
// });
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue