summaryrefslogtreecommitdiff
path: root/source/features/improve-shortcut-help.tsx
diff options
context:
space:
mode:
authorGravatar yakov116 <16872793+yakov116@users.noreply.github.com> 2020-06-02 14:05:52 -0400
committerGravatar GitHub <noreply@github.com> 2020-06-02 20:05:52 +0200
commitbcbc5f702e27f6f5881c306d3b74ab617f685fac (patch)
treefeef93744744ddf4ce92a5312cec1fe5a9c356ed /source/features/improve-shortcut-help.tsx
parent9ddcd95d766d26af8fe6362c65f32370464c5bd2 (diff)
downloadrefined-github-bcbc5f702e27f6f5881c306d3b74ab617f685fac.tar.gz
refined-github-bcbc5f702e27f6f5881c306d3b74ab617f685fac.tar.zst
refined-github-bcbc5f702e27f6f5881c306d3b74ab617f685fac.zip
Meta: Change format of shortcuts map (#3163)
Diffstat (limited to 'source/features/improve-shortcut-help.tsx')
-rw-r--r--source/features/improve-shortcut-help.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/improve-shortcut-help.tsx b/source/features/improve-shortcut-help.tsx
index b63ac31f..607fe341 100644
--- a/source/features/improve-shortcut-help.tsx
+++ b/source/features/improve-shortcut-help.tsx
@@ -16,7 +16,7 @@ function improveShortcutHelp(dialog: Element): void {
</div>
<ul>
- {features.getShortcuts().map(({hotkey, description}) => (
+ {[...features.shortcutMap].map(([hotkey, description]) => (
<li className="Box-row d-flex flex-row">
<div className="flex-auto">{description}</div>
<div className="ml-2 no-wrap">