Fix issue with checkbox click, closes #549.

This commit is contained in:
Mike Cao committed 2021-04-24 20:56:22 -07:00
1 parent 930d050698
commit af6ee27031
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ function Checkbox({ name, value, label, onChange }) {
className={styles.input}
type="checkbox"
name={name}
value={value}
defaultChecked={value}
onChange={onChange}
/>
</div>
+1 -1
View File
@@ -77,7 +77,7 @@ export default function WebsiteEditForm({ values, onSave, onClose }) {
</div>
</FormRow>
<FormRow>
<label></label>
<label />
<Field name="enable_share_url">
{({ field }) => (
<Checkbox