diff --git a/src/components/Post.js b/src/components/Post.js index f181cfb..365e011 100644 --- a/src/components/Post.js +++ b/src/components/Post.js @@ -24,15 +24,20 @@ class Post extends React.Component { if (comments) { return comments.map(comment => { return ( -
-

Comment by {comment.author}

-
-
- +
+
+
Comment by {comment.author}

+ Posted: {comment.time_published} +
+
+
+
+ +
-
-
+

+
); }); } @@ -59,7 +64,6 @@ class Post extends React.Component { }

Comments:

-
{ this.renderComments(post.comments,post.id) }
)