You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
Simplify boolean assignment.
This commit is contained in:
@@ -465,7 +465,7 @@ module.exports = React.createClass({
|
||||
break;
|
||||
case 'appsDrawer':
|
||||
this.setState({
|
||||
showApps: payload.show ? true : false,
|
||||
showApps: payload.show,
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user