Unverified Commit 67acc5ac authored by Bryan Nguyen's avatar Bryan Nguyen Committed by GitHub

Correct prop name in `server-actions.mdx` (#58108)

Code snippet below line changed uses `myAction`
parent c29c039c
...@@ -70,7 +70,7 @@ export default function ClientComponent() { ...@@ -70,7 +70,7 @@ export default function ClientComponent() {
In some cases, you might want to pass down a Server Action to a Client Component as a prop. In some cases, you might want to pass down a Server Action to a Client Component as a prop.
```jsx ```jsx
<ClientComponent updateItem={updateItem} /> <ClientComponent myAction={updateItem} />
``` ```
```jsx filename="app/client-component.jsx" ```jsx filename="app/client-component.jsx"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment