Fix JSX for hotkeys

This commit is contained in:
thepaperpilot 2022-12-19 07:25:40 -06:00
parent 7dbce4eadc
commit 0f9e639a43

View file

@ -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>
))}