diff --git a/crates/agent-gui/src/components/ui/select.tsx b/crates/agent-gui/src/components/ui/select.tsx index fe5241d0..3c39290a 100644 --- a/crates/agent-gui/src/components/ui/select.tsx +++ b/crates/agent-gui/src/components/ui/select.tsx @@ -35,15 +35,9 @@ type SelectValueProps = Omit< export const SelectValue = React.forwardRef( ({ placeholder, children, ...props }, ref) => { - const rendered = - children !== undefined - ? children - : placeholder !== undefined - ? (value: unknown) => (value == null ? placeholder : undefined) - : undefined; return ( - - {rendered as React.ComponentPropsWithoutRef["children"]} + + {children as React.ComponentPropsWithoutRef["children"]} ); },