diff --git a/src/components/Post.js b/src/components/Post.js index 1221596..de720b2 100644 --- a/src/components/Post.js +++ b/src/components/Post.js @@ -25,11 +25,13 @@ class Post extends React.Component { return comments.map(comment => { return (
-
-
- +

Comment by {comment.author}

+
+
+ +
-
+
); }); @@ -44,7 +46,7 @@ class Post extends React.Component {
-

{post.title}

+

{post.title}

By {post.author}

Posted {post.time_published}

@@ -54,6 +56,8 @@ class Post extends React.Component {
+

Comments:

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