fix: error when navigating to a post that has no tags

This commit is contained in:
alxshelepenok 2019-05-08 22:03:12 +03:00
parent ce18826cd0
commit 420e422eb8

View File

@ -27,7 +27,7 @@ const Post = ({ post }) => {
<div className={styles['post__footer']}> <div className={styles['post__footer']}>
<Meta date={date} /> <Meta date={date} />
<Tags tags={tags} tagSlugs={tagSlugs} /> {tags && <Tags tags={tags} tagSlugs={tagSlugs} />}
<Author /> <Author />
</div> </div>