diff --git a/src/components/ui/base/Toggle.tsx b/src/components/ui/base/Toggle.tsx index c9403a41..8fe009da 100644 --- a/src/components/ui/base/Toggle.tsx +++ b/src/components/ui/base/Toggle.tsx @@ -15,7 +15,7 @@ export const Toggle = (inputProps: Props) => { const [state, send] = useMachine(zagSwitch.machine({ id: createUniqueId(), readOnly: props.readOnly, - value: props.value(), + checked: props.value(), onChange({ checked }) { if (hack_FirstTimeRender) { hack_FirstTimeRender = false