From 84f7b6951f033ee6b4f760d12c04179f2266c155 Mon Sep 17 00:00:00 2001 From: Asara Date: Mon, 3 Feb 2020 19:46:11 -0500 Subject: [PATCH] Some basic ghetto display stuff --- src/components/Post.js | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) 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) }
)