Unverified Commit df14fdfa authored by Lee Robinson's avatar Lee Robinson Committed by GitHub

docs: fix typo for `useFormState` (#60010)

parent cd740cd0
...@@ -653,7 +653,7 @@ export async function createTodo(prevState, formData) { ...@@ -653,7 +653,7 @@ export async function createTodo(prevState, formData) {
> **Good to know:** > **Good to know:**
> >
> - Aside from throwing the error, you can also return an object to be handled by `useFormStatus`. See [Server-side validation and error handling](#server-side-validation-and-error-handling). > - Aside from throwing the error, you can also return an object to be handled by `useFormState`. See [Server-side validation and error handling](#server-side-validation-and-error-handling).
### Revalidating data ### Revalidating data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment