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