Skip to content

Commit

Permalink
chore: add "use client" to app router example in readme (#2154)
Browse files Browse the repository at this point in the history
Co-authored-by: jeremyphilemon <git@jrmyphlmn.com>
  • Loading branch information
MaxLeiter and jeremyphilemon authored Jul 1, 2024
1 parent 2eb7476 commit 98a6466
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ export default function Layout({ children }: { children: ReactNode }) {
###### @/app/page.tsx (Next.js App Router)

```tsx
'use client';

import { useActions } from 'ai/rsc';
import { ReactNode, useState } from 'react';

Expand Down

0 comments on commit 98a6466

Please sign in to comment.