diff --git a/src/GameOptions/ui/KeyBindingPage.tsx b/src/GameOptions/ui/KeyBindingPage.tsx index d347c6053..5a39f66c6 100644 --- a/src/GameOptions/ui/KeyBindingPage.tsx +++ b/src/GameOptions/ui/KeyBindingPage.tsx @@ -289,49 +289,36 @@ export function KeyBindingPage(): React.ReactElement { knowAboutBitverse() || !(SpoilerKeyBindingTypes as unknown as string[]).includes(keyBindingType), ) .map((keyBindingType) => { - const primaryKeyCombination = CurrentKeyBindings[keyBindingType][0] ? ( - parseKeyCombinationToString(CurrentKeyBindings[keyBindingType][0]) - ) : ( - // Use a non-breaking space to make the button fit to the parent td element. - <>  - ); - const secondaryKeyCombination = CurrentKeyBindings[keyBindingType][1] ? ( - parseKeyCombinationToString(CurrentKeyBindings[keyBindingType][1]) - ) : ( - // Use a non-breaking space to make the button fit to the parent td element. - <>  - ); return ( {keyBindingType} - - - - - - + {[0, 1].map((value) => { + const isPrimary = value === 0; + return ( + + + + ); + })} ); });