fix: the value property of checkbox to the checked property (#7804)

This commit is contained in:
kosh
2025-05-17 00:10:37 +09:00
committed by GitHub
parent 73d7073d75
commit 4a7bdc113a

View File

@@ -2011,7 +2011,7 @@ export default function ContactList() {
<label>
<input
type="checkbox"
value={reverse}
checked={reverse}
onChange={e => {
setReverse(e.target.checked)
}}
@@ -2110,7 +2110,7 @@ export default function ContactList() {
<label>
<input
type="checkbox"
value={reverse}
checked={reverse}
onChange={e => {
setReverse(e.target.checked)
}}