diff --git a/beta/src/components/Layout/HomeContent.tsx b/beta/src/components/Layout/HomeContent.tsx index eabe38878..446096713 100644 --- a/beta/src/components/Layout/HomeContent.tsx +++ b/beta/src/components/Layout/HomeContent.tsx @@ -410,13 +410,8 @@ function CodeAnimation() {
{`function Comment({ author, comment }) { return ( - - - - - {comment.text} - - + + {comment.text} ); }`}
@@ -446,11 +441,8 @@ function Example() { function Comment({author, comment}) { return ( - - - - {comment.text} - + + {comment.text} ); } @@ -459,9 +451,8 @@ function Panel({children}) { return (
- {children} -
- {to.name} -
-
- ); -} - -function Avatar({image}) { +function Avatar({user}) { return ( - {children} -
- ); -} - function LikeButton() { return (