diff --git a/web/src/App.js b/web/src/App.js index 72134650..ad2973ea 100644 --- a/web/src/App.js +++ b/web/src/App.js @@ -194,9 +194,9 @@ class App extends Component { } handleRightDropdownClick(e) { - if (e.key === '201') { + if (e.key === '/account') { this.props.history.push(`/account`); - } else if (e.key === '202') { + } else if (e.key === 'logout') { this.logout(); } } @@ -220,11 +220,11 @@ class App extends Component { renderRightDropdown() { const menu = (