diff options
-rw-r--r-- | ui/app/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index 4dd41d570..536b871b3 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -173,12 +173,12 @@ App.prototype.renderAppBar = function () { width: 16, barHeight: 2, padding: 0, - isOpen: props.menuOpen, + isOpen: state.isMainMenuOpen, color: 'rgb(247,146,30)', onClick: (event) => { event.preventDefault() event.stopPropagation() - this.setState({ isMainMenuOpen: true }) + this.setState({ isMainMenuOpen: !state.isMainMenuOpen }) }, }), ]), |