Simplify boolean assignment.
This commit is contained in:
parent
06dafdc099
commit
ff1636aaf5
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ module.exports = React.createClass({
|
|||
break;
|
||||
case 'appsDrawer':
|
||||
this.setState({
|
||||
showApps: payload.show ? true : false,
|
||||
showApps: payload.show,
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue