Skip to content

Commit fa0c25a

Browse files
authored
docs: typo in validation (#941)
1 parent 64fefaa commit fa0c25a

File tree

1 file changed

+1
-1
lines changed
  • examples/react/field-errors-from-form-validators/src

1 file changed

+1
-1
lines changed

examples/react/field-errors-from-form-validators/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ async function sleep(ms: number) {
1010

1111
async function verifyAgeOnServer(age: number) {
1212
await sleep(Math.floor(Math.random() * 1000))
13-
return age <= 13
13+
return age >= 13
1414
}
1515

1616
async function checkIfUsernameIsTaken(name: string) {

0 commit comments

Comments
 (0)