Unverified Commit 355831af authored by Sayakie's avatar Sayakie Committed by GitHub

docs: fix typo in docs (#82186)

### What?
This pull request just fix typo in documentation.

---------
Co-authored-by: 's avatarJoseph <joseph.chamochumbi@vercel.com>
parent aae25a1d
...@@ -106,7 +106,7 @@ There are two ways to fetch data in Client Components, using: ...@@ -106,7 +106,7 @@ There are two ways to fetch data in Client Components, using:
You can use React's [`use` hook](https://react.dev/reference/react/use) to [stream](#streaming) data from the server to client. Start by fetching data in your Server component, and pass the promise to your Client Component as prop: You can use React's [`use` hook](https://react.dev/reference/react/use) to [stream](#streaming) data from the server to client. Start by fetching data in your Server component, and pass the promise to your Client Component as prop:
```tsx filename="app/blog/page.tsx" switcher ```tsx filename="app/blog/page.tsx" switcher
import Posts from '@/app/ui/posts import Posts from '@/app/ui/posts'
import { Suspense } from 'react' import { Suspense } from 'react'
export default function Page() { export default function Page() {
...@@ -122,7 +122,7 @@ export default function Page() { ...@@ -122,7 +122,7 @@ export default function Page() {
``` ```
```jsx filename="app/blog/page.js" switcher ```jsx filename="app/blog/page.js" switcher
import Posts from '@/app/ui/posts import Posts from '@/app/ui/posts'
import { Suspense } from 'react' import { Suspense } from 'react'
export default function Page() { export default function Page() {
......
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