From 6b6b86287e913e8b8456985a1cb8502760d2c224 Mon Sep 17 00:00:00 2001 From: Andrew Davis <1709934+Savid@users.noreply.github.com> Date: Sat, 5 Apr 2025 23:57:20 +1000 Subject: [PATCH] cleanup combobox focus --- ui/src/components/Combobox.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/ui/src/components/Combobox.tsx b/ui/src/components/Combobox.tsx index 383d88a..8055043 100644 --- a/ui/src/components/Combobox.tsx +++ b/ui/src/components/Combobox.tsx @@ -47,16 +47,9 @@ export function Combobox({ const inputRef = useRef(null); const classes = comboboxVariants({ size }); - const handleChange = (value: unknown) => { - if (onChange) { - onChange(value); - inputRef.current?.blur(); - } - }; - return ( {() => (