diff --git a/components/home/HomeWithCarousel.tsx b/components/home/HomeWithCarousel.tsx index c513294f..9bddb3f9 100644 --- a/components/home/HomeWithCarousel.tsx +++ b/components/home/HomeWithCarousel.tsx @@ -569,29 +569,31 @@ export const HomeWithCarousel = () => { settings.streamyStatsSeriesRecommendations || settings.streamyStatsPromotedWatchlists; const streamystatsSections = - index === streamystatsIndex && hasStreamystatsContent ? ( - <> - {settings.streamyStatsMovieRecommendations && ( - - )} - {settings.streamyStatsSeriesRecommendations && ( - - )} - {settings.streamyStatsPromotedWatchlists && ( - - )} - - ) : null; + index === streamystatsIndex && hasStreamystatsContent + ? [ + settings.streamyStatsMovieRecommendations && ( + + ), + settings.streamyStatsSeriesRecommendations && ( + + ), + settings.streamyStatsPromotedWatchlists && ( + + ), + ].filter(Boolean) + : null; if (section.type === "InfiniteScrollingCollectionList") { return ( diff --git a/components/home/StreamystatsPromotedWatchlists.tsx b/components/home/StreamystatsPromotedWatchlists.tsx index 81d50675..783bed46 100644 --- a/components/home/StreamystatsPromotedWatchlists.tsx +++ b/components/home/StreamystatsPromotedWatchlists.tsx @@ -247,15 +247,14 @@ export const StreamystatsPromotedWatchlists: React.FC< } return ( - <> + {watchlists?.map((watchlist) => ( ))} - + ); };