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;
|
break;
|
||||||
case 'appsDrawer':
|
case 'appsDrawer':
|
||||||
this.setState({
|
this.setState({
|
||||||
showApps: payload.show ? true : false,
|
showApps: payload.show,
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue