Skip to content

Commit 4bea66b

Browse files
authored
Change the word 'Function' to 'Component' (#7741)
* Change the word 'Function' to 'Component' * Trigger actions
1 parent 947681e commit 4bea66b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/rsc/server-functions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function EmptyNote () {
5454
}
5555
```
5656

57-
When React renders the `EmptyNote` Server Function, it will create a reference to the `createNoteAction` function, and pass that reference to the `Button` Client Component. When the button is clicked, React will send a request to the server to execute the `createNoteAction` function with the reference provided:
57+
When React renders the `EmptyNote` Server Component, it will create a reference to the `createNoteAction` function, and pass that reference to the `Button` Client Component. When the button is clicked, React will send a request to the server to execute the `createNoteAction` function with the reference provided:
5858

5959
```js {5}
6060
"use client";

0 commit comments

Comments
 (0)