From 2c0528f98329861d23e598204be76ee406ae9243 Mon Sep 17 00:00:00 2001 From: Josh Worden Date: Tue, 13 Nov 2018 13:37:59 -0600 Subject: [PATCH] Update Details.jsx Ensure teaser not being present will not cause a hard error --- src/components/StoryList/Item/Details.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/StoryList/Item/Details.jsx b/src/components/StoryList/Item/Details.jsx index 72d2016..9797632 100644 --- a/src/components/StoryList/Item/Details.jsx +++ b/src/components/StoryList/Item/Details.jsx @@ -17,8 +17,7 @@ const StoryListItemDetails = ({ {' '} {advertiser.name} - {teaser.length > 0 - && ( + {teaser && teaser.length > 0 && (

{teaser}