Skip to content

Commit

Permalink
Update Details.jsx
Browse files Browse the repository at this point in the history
Ensure teaser not being present will not cause a hard error
  • Loading branch information
solocommand authored Nov 13, 2018
1 parent dc7fc24 commit 2c0528f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/StoryList/Item/Details.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ const StoryListItemDetails = ({
{' '}
{advertiser.name}
</h6>
{teaser.length > 0
&& (
{teaser && teaser.length > 0 && (
<p className="mt-1 mb-0 text-muted">
{teaser}
</p>
Expand Down

0 comments on commit 2c0528f

Please sign in to comment.