Skip to content

Commit 4b92001

Browse files
authored
Fix typo in Comments component (#7258)
1 parent 44e94f3 commit 4b92001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/rsc/server-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ function Comments({commentsPromise}) {
293293
// NOTE: this will resume the promise from the server.
294294
// It will suspend until the data is available.
295295
const comments = use(commentsPromise);
296-
return comments.map(commment => <p>{comment}</p>);
296+
return comments.map(comment => <p>{comment}</p>);
297297
}
298298
```
299299

0 commit comments

Comments
 (0)