diff --git a/examples/react/field-errors-from-form-validators/src/index.tsx b/examples/react/field-errors-from-form-validators/src/index.tsx index c1892c1ad..ce3d9aa79 100644 --- a/examples/react/field-errors-from-form-validators/src/index.tsx +++ b/examples/react/field-errors-from-form-validators/src/index.tsx @@ -10,7 +10,7 @@ async function sleep(ms: number) { async function verifyAgeOnServer(age: number) { await sleep(Math.floor(Math.random() * 1000)) - return age <= 13 + return age >= 13 } async function checkIfUsernameIsTaken(name: string) {