diff --git a/beta/src/components/Layout/HomeContent.tsx b/beta/src/components/Layout/HomeContent.tsx index b23475c4b..34497abea 100644 --- a/beta/src/components/Layout/HomeContent.tsx +++ b/beta/src/components/Layout/HomeContent.tsx @@ -55,19 +55,15 @@ export function HomeContent() {
-
{`function Post({ post, author }) { +
{`function Comment({ comment, author }) { return ( - - - - {author.name} - - - - {post.text} - - + + {author.name} + + {comment.text} + + ); }`}
@@ -463,7 +459,7 @@ function Example() {
Lorem Ipsum is simply dummy text of the printing and typesetting