mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-27 03:08:06 +00:00
Fix sample code variable name on "Building Great User Experiences with Concurrent Mode and Suspense" blog post (#2541)
* Update 2019-11-06-building-great-user-experiences-with-concurrent-mode-and-suspense.md #2540 I think `post` is `props.post` * Update 2019-11-06-building-great-user-experiences-with-concurrent-mode-and-suspense.md
This commit is contained in:
committed by
Joseph Savona
parent
c7c5fb89d3
commit
7d257ea0ad
@@ -196,7 +196,7 @@ function Post(props) {
|
||||
<h2>by {postData.author}</h2>
|
||||
{/* @defer pairs naturally w <Suspense> to make the UI non-blocking too */}
|
||||
<Suspense fallback={<Spinner/>}>
|
||||
<CommentList post={post} />
|
||||
<CommentList post={postData} />
|
||||
</Suspense>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user