summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/common
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-07-27 22:34:33 +0200
committerJules Laplace <julescarbon@gmail.com>2020-07-27 22:34:33 +0200
commit0919fde0919aa8ce2724ecb9797eee94774fe126 (patch)
treee5a5af23bbb2b7f11a2e893763e2495736287584 /animism-align/frontend/app/common
parentefa31f76bd00fed5684ada9f948692e7051ecc4e (diff)
formz
Diffstat (limited to 'animism-align/frontend/app/common')
-rw-r--r--animism-align/frontend/app/common/form.component.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/animism-align/frontend/app/common/form.component.js b/animism-align/frontend/app/common/form.component.js
index 4eee10b..bbdf26d 100644
--- a/animism-align/frontend/app/common/form.component.js
+++ b/animism-align/frontend/app/common/form.component.js
@@ -78,7 +78,7 @@ export const Checkbox = props => (
type="checkbox"
name={props.name}
value={1}
- checked={props.checked}
+ checked={!!props.checked}
onChange={(e) => props.onChange(props.name, e.target.checked)}
/>
<span>{props.label}</span>