diff --git a/web/src/components/ui/switch.tsx b/web/src/components/ui/switch.tsx index c74f1382ccf..36c3cee7ba3 100644 --- a/web/src/components/ui/switch.tsx +++ b/web/src/components/ui/switch.tsx @@ -65,10 +65,8 @@ export const Switch = React.forwardRef< Switch.displayName = "Switch"; -interface SwitchFieldProps - extends Omit { +interface SwitchFieldProps extends Omit { name: string; - onCheckedChange?: (checked: boolean) => void; } export const SwitchField: React.FC = ({