diff --git a/src/app/(tabs)/home/index.tsx b/src/app/(tabs)/home/index.tsx index 8a7284f..911f8a5 100644 --- a/src/app/(tabs)/home/index.tsx +++ b/src/app/(tabs)/home/index.tsx @@ -150,15 +150,20 @@ function HomeScreen() { {featuredStories.length > 0 && ( - Featured Stories - {featuredStoriesDescription != null && - featuredStoriesDescription.length > 0 && ( - <> - {featuredStoriesHeader} - - {featuredStoriesDescription} - - + + Featured Stories + + {featuredStoriesHeader != null && featuredStoriesHeader != '' && ( + + {featuredStoriesHeader} + + )} + {featuredStoriesHeader != '' && + featuredStoriesDescription != null && + featuredStoriesDescription != '' && ( + + {featuredStoriesDescription} + )} {featuredStories.map(story => (