From 1a6bf1bab90a86af9be8cf73a42ac7d41b5fe421 Mon Sep 17 00:00:00 2001 From: wayanrivan Date: Mon, 19 May 2025 18:38:11 +0700 Subject: [PATCH] update homepage --- .../dashboards/home/DashboardHomePage.tsx | 31 ++++++++----------- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/src/pages/dashboards/home/DashboardHomePage.tsx b/src/pages/dashboards/home/DashboardHomePage.tsx index 7b6f1d7..0353ee8 100644 --- a/src/pages/dashboards/home/DashboardHomePage.tsx +++ b/src/pages/dashboards/home/DashboardHomePage.tsx @@ -268,24 +268,19 @@ const DashboardHomePage = () => { ) : null}
- - - {/* */} + {bankaccount?.data && bankaccount?.data.length > 0 ? ( + bankaccount?.data.map((bankaccountdatas: { amount: string, creditlimit: string, monthlylimit: string; wallet: string; }, index: number) => ( + + )) + ) : ( + "" + )} +
{/* Cards */}