diff --git a/src/components/ui4/PromoCardsUi4.tsx b/src/components/ui4/PromoCardsUi4.tsx index e92621a3cfb..90e2111458b 100644 --- a/src/components/ui4/PromoCardsUi4.tsx +++ b/src/components/ui4/PromoCardsUi4.tsx @@ -100,8 +100,8 @@ export const PromoCardsUi4 = (props: Props) => { }, []) return promos == null || promos.length === 0 ? null : ( - - + + {promos.map(promoInfo => ( ))} diff --git a/src/components/ui4/scenes/HomeSceneUi4.tsx b/src/components/ui4/scenes/HomeSceneUi4.tsx index 34acd1223e5..880ec5000b8 100644 --- a/src/components/ui4/scenes/HomeSceneUi4.tsx +++ b/src/components/ui4/scenes/HomeSceneUi4.tsx @@ -143,18 +143,18 @@ export const HomeSceneUi4 = (props: Props) => { /> navigation.navigate('coinRanking', {})} /> - + {blogPosts == null || blogPosts.length === 0 ? null : ( <> - - {blogPosts.map((blogPost, index) => ( - - ))} - + + {blogPosts.map((blogPost, index) => ( + + ))} + )}