From c7c053b6607b61b146421b3867f25ef272fdf765 Mon Sep 17 00:00:00 2001 From: Hippo Date: Thu, 26 Sep 2019 19:14:13 +0530 Subject: [PATCH] Fix bugs causing compile fails --- src/components/common/PostCard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/common/PostCard.js b/src/components/common/PostCard.js index 4cb9c61..6db11be 100644 --- a/src/components/common/PostCard.js +++ b/src/components/common/PostCard.js @@ -18,10 +18,10 @@ const PostCard = ({ post, isLarge }) => {
{/*post.tags &&
*/} - {post.tags &&
{post.tags[0].name}
} + {post.tags && post.tags[0] &&
{post.tags[0].name}
} {post.featured && Featured}

{post.title}

-
{post.subtitle}
+
{ /* post.subtitle */ }