Skip to content

Commit 16e97fa

Browse files
authored
Fix server/client typo in <form> docs (#6627)
* Fix server/client typo in <form> docs Fixes #6601 * Update form.md * Update form.md * Update form.md
1 parent 6346efd commit 16e97fa

File tree

1 file changed

+1
-1
lines changed
  • src/content/reference/react-dom/components

1 file changed

+1
-1
lines changed

src/content/reference/react-dom/components/form.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ export default function Search() {
278278

279279
Displaying a form submission error message before the JavaScript bundle loads for progressive enhancement requires that:
280280

281-
1. `<form>` be rendered by a [Server Component](/reference/rsc/use-client)
281+
1. `<form>` be rendered by a [Client Component](/reference/rsc/use-client)
282282
1. the function passed to the `<form>`'s `action` prop be a [Server Function](/reference/rsc/server-functions)
283283
1. the `useActionState` Hook be used to display the error message
284284

0 commit comments

Comments
 (0)