Skip to content

Commit 1b08e3b

Browse files
Fix comment for Zod coercion in remote functions (#14453)
1 parent d4680a0 commit 1b08e3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/docs/20-core-concepts/60-remote-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ export const setCount = form(
320320
// Valibot:
321321
count: v.pipe(v.string(), v.transform((s) => Number(s)), v.number()),
322322
// Zod:
323-
// count: v.coerce.number()
323+
// count: z.coerce.number()
324324
}),
325325
async ({ count }) => {
326326
// ...

0 commit comments

Comments
 (0)