diff --git a/frontend/components/Layout/Layout.js b/frontend/components/Layout/Layout.js index 2b8b4f2c..b22c3eae 100644 --- a/frontend/components/Layout/Layout.js +++ b/frontend/components/Layout/Layout.js @@ -79,10 +79,14 @@ type Props = { }; @keydown('shift+/') - handleOpenKeyboardShortcuts() { + goToOpenKeyboardShortcuts() { this.modal = 'keyboard-shortcuts'; } + handleOpenKeyboardShortcuts = () => { + this.goToOpenKeyboardShortcuts(); + }; + handleOpenSettings = () => { this.modal = 'settings'; };