mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-03 20:36:57 +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) {
|
||||
this.onClickAddWidget();
|
||||
}
|
||||
}, (err) => {
|
||||
this.setState({
|
||||
scalar_error: err,
|
||||
});
|
||||
// TODO -- Handle Scalar errors
|
||||
// },
|
||||
// (err) => {
|
||||
// this.setState({
|
||||
// scalar_error: err,
|
||||
// });
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue