Commit 7356a00
Fix Zod schema type mismatch with zodResolver
Remove .default() from schema fields — zodResolver uses Zod input
types where .default() makes fields optional. Defaults are already
provided via useForm defaultValues.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2669e95 commit 7356a00
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
| 153 | + | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
0 commit comments