From e70eca0b0c928ec7ddab4db175e8be973f98564b Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Wed, 28 Jun 2017 12:58:09 +0100 Subject: [PATCH] Comment unused code and add TODO to handle scalar errors. --- src/components/views/rooms/AppsDrawer.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/views/rooms/AppsDrawer.js b/src/components/views/rooms/AppsDrawer.js index 10e13eb623..5378136f2d 100644 --- a/src/components/views/rooms/AppsDrawer.js +++ b/src/components/views/rooms/AppsDrawer.js @@ -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, + // }); }); } },