You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-18 09:22:18 +03:00
Simplify boolean assignment.
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user