Skip to content

Commit 9c2c295

Browse files
committed
small change
1 parent cf78b02 commit 9c2c295

File tree

1 file changed

+2
-0
lines changed
  • react/advanced-component-design/02-form-abstractions/02-zod-validation

1 file changed

+2
-0
lines changed

react/advanced-component-design/02-form-abstractions/02-zod-validation/LoginForm.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ export function LoginForm() {
2020
if (!results.success) {
2121
console.error(results.error.flatten().fieldErrors)
2222
} else {
23+
// Notice the "type" difference
2324
console.log(formValues)
25+
console.log(results.data)
2426
}
2527
}
2628

0 commit comments

Comments
 (0)