diff --git a/src/content/reference/rsc/server-components.md b/src/content/reference/rsc/server-components.md index a4ee4dd2bf8..da34b1fb97c 100644 --- a/src/content/reference/rsc/server-components.md +++ b/src/content/reference/rsc/server-components.md @@ -288,7 +288,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 =>
{comment}
); + return comments.map(comment =>{comment}
); } ```