mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-22 00:21:34 +00:00
Fix JSX for hotkeys
This commit is contained in:
parent
7dbce4eadc
commit
0f9e639a43
1 changed files with 7 additions and 5 deletions
|
@ -102,11 +102,13 @@ registerInfoComponent(
|
|||
<div>
|
||||
<br />
|
||||
<h4>Hotkeys</h4>
|
||||
{keys.map(hotkey => (
|
||||
<div v-if={hotkey !== undefined}>
|
||||
<HotkeyVue hotkey={hotkey as GenericHotkey} /> {hotkey?.description}
|
||||
</div>
|
||||
))}
|
||||
{keys
|
||||
.filter(key => key != null)
|
||||
.map(hotkey => (
|
||||
<div>
|
||||
<HotkeyVue hotkey={hotkey as GenericHotkey} /> {hotkey?.description}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue