Skip to content

Commit ba2a433

Browse files
authored
Update README.mdx with correct function name (#14)
1 parent f75d6f1 commit ba2a433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/05.actions/README.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ needs to run (the form data).
8282
```js
8383
import * as RSC from 'react-server-dom-esm/client'
8484

85-
function callAction(id, args) {
85+
function callServer(id, args) {
8686
const fetchPromise = fetch(`/action${getGlobalLocation()}`, {
8787
method: 'POST',
8888
headers: { 'rsc-action': id },

0 commit comments

Comments
 (0)