diff --git a/src/content/reference/rsc/server-functions.md b/src/content/reference/rsc/server-functions.md index 2603c109926..38ecf8b5e49 100644 --- a/src/content/reference/rsc/server-functions.md +++ b/src/content/reference/rsc/server-functions.md @@ -133,7 +133,7 @@ function UpdateName() { } }) } - + return (
@@ -195,7 +195,7 @@ function UpdateName() { When using `useActionState` with Server Functions, React will also automatically replay form submissions entered before hydration finishes. This means users can interact with your app even before the app has hydrated. -For more, see the docs for [`useActionState`](/reference/react-dom/hooks/useFormState). +For more, see the docs for [`useActionState`](/reference/react/useActionState). ### Progressive enhancement with `useActionState` {/*progressive-enhancement-with-useactionstate*/} @@ -219,4 +219,4 @@ function UpdateName() { When the permalink is provided to `useActionState`, React will redirect to the provided URL if the form is submitted before the JavaScript bundle loads. -For more, see the docs for [`useActionState`](/reference/react-dom/hooks/useFormState). +For more, see the docs for [`useActionState`](/reference/react/useActionState).