From e1879222b3f5f7f4f381d1d89dd586dcadf74e16 Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Thu, 26 Sep 2024 17:06:43 +0100 Subject: [PATCH] offer list flat banner bug fixed --- .../Dashboards/AccountDashboard.jsx | 22 +++++++------------ 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/src/components/Dashboards/AccountDashboard.jsx b/src/components/Dashboards/AccountDashboard.jsx index 231ad3e..dc4e7c3 100644 --- a/src/components/Dashboards/AccountDashboard.jsx +++ b/src/components/Dashboards/AccountDashboard.jsx @@ -88,20 +88,14 @@ const AccountDashboard = ({ className, bannerList, offersList, imageServer }) => ); let image = `${imageServer}${localStorage.getItem("session_token")}/job/${item.job_uid}` - // {index >= 3 ? - //
- // - //
- // : - // null - // } - return ( -
- {index >= 3 && - - } -
- ) + if(index >= 3) { + return + (
+ +
) + }else{ + null + } })} {getLowerBanner?.map((props, idx) => { -- 2.34.1