From fa0c25a8c8e4ba5b60ae9d1d3dc10e422260d985 Mon Sep 17 00:00:00 2001 From: Daniel Francesconi Date: Fri, 6 Sep 2024 08:41:04 +0200 Subject: [PATCH] docs: typo in validation (#941) --- examples/react/field-errors-from-form-validators/src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {