From ff1636aaf5568f8bc182d0944ab671afe43121a8 Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Wed, 28 Jun 2017 12:21:05 +0100 Subject: [PATCH] Simplify boolean assignment. --- src/components/structures/RoomView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index a793a61e68..ffb0c1243c 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -465,7 +465,7 @@ module.exports = React.createClass({ break; case 'appsDrawer': this.setState({ - showApps: payload.show ? true : false, + showApps: payload.show, }); break; }