Skip to content

Commit

Permalink
Update docs/02-app/01-building-your-application/02-data-fetching/03-s…
Browse files Browse the repository at this point in the history
…erver-actions-and-mutations.mdx

Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
  • Loading branch information
eps1lon and delbaoliveira authored Jul 1, 2024
1 parent a4c79d5 commit f6ce99d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ You can also pass a Server Action to a Client Component as a prop:
<ClientComponent updateItemAction={updateItem} />
```

```jsx filename="app/client-component.tsx" switcher
```tsx filename="app/client-component.tsx" switcher
'use client'

export default function ClientComponent({
Expand Down

0 comments on commit f6ce99d

Please sign in to comment.