mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-21 06:21:03 +02:00
Comment unused code and add TODO to handle scalar errors.
This commit is contained in:
parent
d06d066050
commit
e70eca0b0c
@ -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…
x
Reference in New Issue
Block a user