Skip to content

Commit

Permalink
docs: add highlight for server component example (#70419)
Browse files Browse the repository at this point in the history
Original PR is too out of sync so this lands separate. 

Closes: #66780
  • Loading branch information
ijjk committed Sep 24, 2024
1 parent 75c46b5 commit a4d7768
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ Within those client subtrees, you can still nest Server Components or call Serve

The following pattern is not supported. You cannot import a Server Component into a Client Component:

```tsx filename="app/client-component.tsx" switcher highlight={4,17}
```tsx filename="app/client-component.tsx" switcher highlight={3,4,17}
'use client'

// You cannot import a Server Component into a Client Component.
Expand Down

0 comments on commit a4d7768

Please sign in to comment.