not a const

pull/338/head
MrChristofferson 2017-07-07 01:01:30 -05:00
parent 25b63eb7e6
commit 56b37639ce
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ export class HotKeys extends React.Component<Props, {}> {
let idx = _.findIndex(links, { slug });
let right = "/app/" + (links[idx + 1] || links[0]).slug;
let left = "/app/" + (links[idx - 1] || links[links.length - 1]).slug;
let HOTKEY_MAP: IHotkeyProps[] = [
let hotkeyMap: IHotkeyProps[] = [
{
combo: "ctrl + shift + s",
label: "Sync",
@ -43,7 +43,7 @@ export class HotKeys extends React.Component<Props, {}> {
onKeyDown: () => push(left)
},
];
return HOTKEY_MAP;
return hotkeyMap;
}
renderHotkeys() {