diff --git a/docs/01-app/01-getting-started/06-data-fetching-and-streaming.mdx b/docs/01-app/01-getting-started/06-data-fetching-and-streaming.mdx index 9afc36474a990..374b5d6db4ccc 100644 --- a/docs/01-app/01-getting-started/06-data-fetching-and-streaming.mdx +++ b/docs/01-app/01-getting-started/06-data-fetching-and-streaming.mdx @@ -141,11 +141,11 @@ export default function Posts({ }: { posts: Promise<{ id: string; title: string }[]> }) { - const posts = use(posts) + const allPosts = use(posts) return (