From c70267602b22cc96458a2d0e33221b3c55a76bed Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Wed, 1 Feb 2023 00:54:30 +0000 Subject: [PATCH] comment --- beta/src/components/Layout/HomeContent.tsx | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) 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