1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-11-28 09:24:05 +03:00

Simplify boolean assignment.

This commit is contained in:
Richard Lewis
2017-06-28 12:21:05 +01:00
parent 06dafdc099
commit ff1636aaf5

View File

@@ -465,7 +465,7 @@ module.exports = React.createClass({
break;
case 'appsDrawer':
this.setState({
showApps: payload.show ? true : false,
showApps: payload.show,
});
break;
}