aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-07-08 13:06:12 +0200
committerlonkaars <loek@pipeframe.xyz>2021-07-08 13:06:12 +0200
commitee868d2f5f23bca0165081a9ab263ea4753f3b93 (patch)
tree3f31f10210346cd327e26f5f54041acb213ff4ce /components
parente0bea044620eefc3deb4c5c52e43d097288e3b8e (diff)
mobile beginnings
Diffstat (limited to 'components')
-rw-r--r--components/keybindselector.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/keybindselector.tsx b/components/keybindselector.tsx
index 26eb222..e9b905f 100644
--- a/components/keybindselector.tsx
+++ b/components/keybindselector.tsx
@@ -38,7 +38,7 @@ export default function KeybindSelector(props: {
<Keybind
keyName={s}
onClick={() => {
- props.onChange && props.onChange(props.value.filter(v => v != s));
+ props.onChange?.(props.value.filter(v => v != s));
}}
/>
)}