Skip to content

Commit

Permalink
Correct prop name in server-actions.mdx (#58108)
Browse files Browse the repository at this point in the history
Code snippet below line changed uses `myAction`
  • Loading branch information
nguyenbry authored Nov 6, 2023
1 parent c29c039 commit 67acc5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.

```jsx
<ClientComponent updateItem={updateItem} />
<ClientComponent myAction={updateItem} />
```

```jsx filename="app/client-component.jsx"
Expand Down

0 comments on commit 67acc5a

Please sign in to comment.