diff --git a/components/common/Checkbox.js b/components/common/Checkbox.js index 67eea80d..9b76e805 100644 --- a/components/common/Checkbox.js +++ b/components/common/Checkbox.js @@ -7,12 +7,14 @@ import styles from './Checkbox.module.css'; function Checkbox({ name, value, label, onChange }) { const ref = useRef(); + const onClick = () => ref.current.click(); + return (
-
ref.current.click()}> +
{value && } size="small" />}
-