Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix checkbox initial render

dominik-zeglenf4f1a7982686
diff --git a/saleor/static/dashboard-next/components/ControlledCheckbox.tsx b/saleor/static/dashboard-next/components/ControlledCheckbox.tsx
index ffbf554814..0a5abf9938 100644
--- a/saleor/static/dashboard-next/components/ControlledCheckbox.tsx
+++ b/saleor/static/dashboard-next/components/ControlledCheckbox.tsx
@@ -17,7 +17,7 @@ export const ControlledCheckbox: React.StatelessComponent<
disabled={disabled}
control={
<Checkbox
- checked={checked}
+ checked={checked || false}
color="primary"
name={name}
onChange={() => onChange({ target: { name, value: !checked } })}