Fix typo in Comments component (#7258)

This commit is contained in:
Ritik Sachan
2025-10-17 02:05:46 +05:30
committed by GitHub
parent 44e94f3e75
commit 4b92001593

View File

@@ -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>);
}
```