mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-02-16 09:31:43 +00:00
Actually, filter is redundant
This commit is contained in:
parent
0f9e639a43
commit
ba34b7b581
1 changed files with 5 additions and 7 deletions
|
@ -102,13 +102,11 @@ registerInfoComponent(
|
|||
<div>
|
||||
<br />
|
||||
<h4>Hotkeys</h4>
|
||||
{keys
|
||||
.filter(key => key != null)
|
||||
.map(hotkey => (
|
||||
<div>
|
||||
<HotkeyVue hotkey={hotkey as GenericHotkey} /> {hotkey?.description}
|
||||
</div>
|
||||
))}
|
||||
{keys.map(hotkey => (
|
||||
<div>
|
||||
<HotkeyVue hotkey={hotkey as GenericHotkey} /> {hotkey?.description}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue