From 04e2ce763f0e2fc36d981eb6265c2c5360c89cae Mon Sep 17 00:00:00 2001 From: Ajayss04 <138968836+Ajayss04@users.noreply.github.com> Date: Fri, 4 Apr 2025 19:56:04 +0530 Subject: [PATCH] Update useActionState.md to match with the reference --- src/content/reference/react/useActionState.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/reference/react/useActionState.md b/src/content/reference/react/useActionState.md index f83f6bdc710..7434220cbbe 100644 --- a/src/content/reference/react/useActionState.md +++ b/src/content/reference/react/useActionState.md @@ -7,7 +7,7 @@ title: useActionState `useActionState` is a Hook that allows you to update state based on the result of a form action. ```js -const [state, formAction, isPending] = useActionState(fn, initialState, permalink?); +const [state, formAction, isPending] = useActionState(action, initialState, permalink?); ```