diff --git a/web/app/components/base/switch/index.tsx b/web/app/components/base/switch/index.tsx index b3d6067204..f61c6f46ff 100644 --- a/web/app/components/base/switch/index.tsx +++ b/web/app/components/base/switch/index.tsx @@ -11,7 +11,7 @@ type SwitchProps = { className?: string } -const Switch = ({ onChange, size = 'lg', defaultValue = false, disabled = false, className }: SwitchProps) => { +const Switch = ({ onChange, size = 'md', defaultValue = false, disabled = false, className }: SwitchProps) => { const [enabled, setEnabled] = useState(defaultValue) useEffect(() => { setEnabled(defaultValue)