From 2f6cac0cf0c7424236e3aaf04c2485e72fe1fe5c Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Mon, 2 Mar 2026 19:27:32 -0800 Subject: [PATCH] no forwardref needed --- apps/web/src/components/ui/combobox.tsx | 31 +++++++++++-------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/apps/web/src/components/ui/combobox.tsx b/apps/web/src/components/ui/combobox.tsx index a949a270e77fbb71522a42adb2b75fab90526191..b0927898217dc3c2674576299ceebca6b87acb8d 100644 --- a/apps/web/src/components/ui/combobox.tsx +++ b/apps/web/src/components/ui/combobox.tsx @@ -260,23 +260,20 @@ function ComboboxValue({ ...props }: ComboboxPrimitive.Value.Props) { return ; } -const ComboboxList = React.forwardRef( - function ComboboxList({ className, ...props }, ref) { - return ( - - - - ); - }, -); +function ComboboxList({ className, ...props }: ComboboxPrimitive.List.Props) { + return ( + + + + ); +} function ComboboxClear({ className, ...props }: ComboboxPrimitive.Clear.Props) { return ; -- 2.54.0