mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-25 01:41:48 +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,8 +102,10 @@ registerInfoComponent(
|
|||
<div>
|
||||
<br />
|
||||
<h4>Hotkeys</h4>
|
||||
{keys.map(hotkey => (
|
||||
<div v-if={hotkey !== undefined}>
|
||||
{keys
|
||||
.filter(key => key != null)
|
||||
.map(hotkey => (
|
||||
<div>
|
||||
<HotkeyVue hotkey={hotkey as GenericHotkey} /> {hotkey?.description}
|
||||
</div>
|
||||
))}
|
||||
|
|
Loading…
Reference in a new issue