Fix to keyboard shortcut modal. Fixes #190

This commit is contained in:
Jori Lallo
2017-08-31 23:23:15 -07:00
parent 65aaf6fa8c
commit 1d78bc6d72

View File

@ -79,10 +79,14 @@ type Props = {
}; };
@keydown('shift+/') @keydown('shift+/')
handleOpenKeyboardShortcuts() { goToOpenKeyboardShortcuts() {
this.modal = 'keyboard-shortcuts'; this.modal = 'keyboard-shortcuts';
} }
handleOpenKeyboardShortcuts = () => {
this.goToOpenKeyboardShortcuts();
};
handleOpenSettings = () => { handleOpenSettings = () => {
this.modal = 'settings'; this.modal = 'settings';
}; };