Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

no forwardref needed

Julius Marminge2f6cac0cf0c7
diff --git a/apps/web/src/components/ui/combobox.tsx b/apps/web/src/components/ui/combobox.tsx
index a949a270e..b09278982 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 <ComboboxPrimitive.Value data-slot="combobox-value" {...props} />;
}
-const ComboboxList = React.forwardRef<HTMLDivElement, ComboboxPrimitive.List.Props>(
- function ComboboxList({ className, ...props }, ref) {
- return (
- <ScrollArea scrollbarGutter scrollFade>
- <ComboboxPrimitive.List
- className={cn(
- "not-empty:scroll-py-1 not-empty:px-1 not-empty:py-1 in-data-has-overflow-y:pe-3",
- className,
- )}
- data-slot="combobox-list"
- ref={ref}
- {...props}
- />
- </ScrollArea>
- );
- },
-);
+function ComboboxList({ className, ...props }: ComboboxPrimitive.List.Props) {
+ return (
+ <ScrollArea scrollbarGutter scrollFade>
+ <ComboboxPrimitive.List
+ className={cn(
+ "not-empty:scroll-py-1 not-empty:px-1 not-empty:py-1 in-data-has-overflow-y:pe-3",
+ className,
+ )}
+ data-slot="combobox-list"
+ {...props}
+ />
+ </ScrollArea>
+ );
+}
function ComboboxClear({ className, ...props }: ComboboxPrimitive.Clear.Props) {
return <ComboboxPrimitive.Clear className={className} data-slot="combobox-clear" {...props} />;