fix: unchecked checkzone still render input with required (#242)

This commit is contained in:
Hoan Luu Huu authored and GitHub committed 2023-05-05 07:34:37 -04:00
1 parent a6c8257b60
commit 414bca4fdc
1 file changed
+1 -1
+1 -1
View File
@@ -63,7 +63,7 @@ export const Checkzone = forwardRef<CheckzoneRef, CheckzoneProps>(
/>
<div>{label}</div>
</label>
<div className={classesIn}>{children}</div>
{checked && <div className={classesIn}>{children}</div>}
</div>
);
}