From ad0b21e6297ea250f7e8336df345b920a368059b Mon Sep 17 00:00:00 2001 From: Aaron Sun Date: Thu, 21 Nov 2019 17:13:33 -0500 Subject: [PATCH] Tested likes and shares via hardcode --- twistter-frontend/src/pages/Home.js | 6 +++--- twistter-frontend/src/pages/user.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/twistter-frontend/src/pages/Home.js b/twistter-frontend/src/pages/Home.js index 267403d..0bc7d42 100644 --- a/twistter-frontend/src/pages/Home.js +++ b/twistter-frontend/src/pages/Home.js @@ -43,7 +43,7 @@ class Home extends Component { { - this.state.imageUrl ? () : + this.state.imageUrl ? () : () } @@ -55,11 +55,11 @@ class Home extends Component {
Topics: {post.microBlogTopics}
- Likes {post.likeCount} Comments {post.commentCount} + Likes {post.likeCount}   Shares {post.commentCount}
) - ) : (

My Posts

); + ) : (

loading posts...

); return ( authenticated ? diff --git a/twistter-frontend/src/pages/user.js b/twistter-frontend/src/pages/user.js index 1a26fb5..acd0a63 100644 --- a/twistter-frontend/src/pages/user.js +++ b/twistter-frontend/src/pages/user.js @@ -127,11 +127,11 @@ class user extends Component {
Topics: {post.microBlogTopics}
- Likes {post.likeCount} Comments {post.commentCount} + Likes {post.likeCount}   Shares {post.commentCount} ) - ) : (

My Posts

); + ) : (

loading posts...

); return (