Skip to content

Commit

Permalink
k
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonyx committed Jan 20, 2025
1 parent d8c5b77 commit 4ebd169
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions web/src/components/ui/switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,8 @@ export const Switch = React.forwardRef<

Switch.displayName = "Switch";

interface SwitchFieldProps
extends Omit<BaseSwitchProps, "checked" | "onCheckedChange"> {
interface SwitchFieldProps extends Omit<BaseSwitchProps, "checked"> {
name: string;
onCheckedChange?: (checked: boolean) => void;
}

export const SwitchField: React.FC<SwitchFieldProps> = ({
Expand Down

0 comments on commit 4ebd169

Please sign in to comment.