Skip to content

Commit 04e2ce7

Browse files
authored
Update useActionState.md to match with the reference
1 parent 5138e60 commit 04e2ce7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/useActionState.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: useActionState
77
`useActionState` is a Hook that allows you to update state based on the result of a form action.
88

99
```js
10-
const [state, formAction, isPending] = useActionState(fn, initialState, permalink?);
10+
const [state, formAction, isPending] = useActionState(action, initialState, permalink?);
1111
```
1212
1313
</Intro>

0 commit comments

Comments
 (0)