mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-25 23:05:23 +00:00
Fix typo in Comments component (#7258)
This commit is contained in:
@@ -293,7 +293,7 @@ function Comments({commentsPromise}) {
|
||||
// NOTE: this will resume the promise from the server.
|
||||
// It will suspend until the data is available.
|
||||
const comments = use(commentsPromise);
|
||||
return comments.map(commment => <p>{comment}</p>);
|
||||
return comments.map(comment => <p>{comment}</p>);
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user