From 0a4b46b56e1ddfb37098f7ff6664a56569f84d30 Mon Sep 17 00:00:00 2001 From: justice chimobi Date: Sat, 28 Sep 2024 23:52:01 +0100 Subject: [PATCH] Fix: card mobile --- src/components/ArticleCard/LatestArticle.tsx | 6 +++--- src/pages/Articles/index.tsx | 2 +- src/pages/Home/Public/Articles/index.tsx | 7 +++---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/components/ArticleCard/LatestArticle.tsx b/src/components/ArticleCard/LatestArticle.tsx index a26763e..4e7ad9b 100644 --- a/src/components/ArticleCard/LatestArticle.tsx +++ b/src/components/ArticleCard/LatestArticle.tsx @@ -32,19 +32,19 @@ const LatestArticleCard: FunctionComponent = ({ CTAText }) => { return ( - + Green double couch with wooden legs - + {date} { )} - + {pinArticles?.map((article: any, index: number) => ( { Latest Articles + {isLoading && } + {articles && isSuccess && ( <> - + {articles?.map((article: any, index: any) => ( { )} - - {isLoading && } - ) }