Skip to content

Commit b75d4fe

Browse files
authored
docs(react-form): Fix validator typo in TanStack Start docs (TanStack#1972)
1 parent 11cab49 commit b75d4fe

File tree

1 file changed

+1
-1
lines changed
  • docs/framework/react/guides

1 file changed

+1
-1
lines changed

docs/framework/react/guides/ssr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const serverValidate = createServerValidate({
5858
export const handleForm = createServerFn({
5959
method: 'POST',
6060
})
61-
.validator((data: unknown) => {
61+
.inputValidator((data: unknown) => {
6262
if (!(data instanceof FormData)) {
6363
throw new Error('Invalid form data')
6464
}

0 commit comments

Comments
 (0)