diff --git a/src/components/custom/position-calculator/mode-switcher.tsx b/src/components/custom/position-calculator/mode-switcher.tsx index 6a5a936..96039d7 100644 --- a/src/components/custom/position-calculator/mode-switcher.tsx +++ b/src/components/custom/position-calculator/mode-switcher.tsx @@ -31,7 +31,7 @@ export function ModeSwitcher({ if (!disabled && next !== mode) onModeChange(next); }; - const handleKeyDown = (event: KeyboardEvent) => { + const handleKeyDown = (event: KeyboardEvent) => { if (disabled) return; const i = MODES.indexOf(mode); let next = i; @@ -61,9 +61,10 @@ export function ModeSwitcher({ }; return ( -
))} -
+ ); }