diff options
Diffstat (limited to 'components')
-rw-r--r-- | components/keybindselector.tsx | 2 |
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)); }} /> )} |