Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yangshun authored Apr 5, 2020
1 parent cdc6c45 commit 27a5189
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ function BlogPostItem(props) {
<div className="margin-vert--md">
<time dateTime={date} className={styles.blogPostDate}>
{month} {day}, {year}{' '}
{readingTime != null ? (
<> · {Math.ceil(readingTime)} min read</>
) : null}
{readingTime && <> · {Math.ceil(readingTime)} min read</>}
</time>
</div>
<div className="avatar margin-vert--md">
Expand Down

0 comments on commit 27a5189

Please sign in to comment.