diff --git a/src/components/home/HomeCom.jsx b/src/components/home/HomeCom.jsx index efb98d9..d0c81e6 100644 --- a/src/components/home/HomeCom.jsx +++ b/src/components/home/HomeCom.jsx @@ -19,12 +19,11 @@ export default function HomeCom() { queryFn: () => getDashData() }) - const dashData = data?.data // APPLY LOAN LIST + const dashData = data?.data // DASHBOARD DATA // console.log('dashData', dashData) // loans, payments, recent_transactions [], request_summary - return (
@@ -56,42 +55,21 @@ export default function HomeCom() {

Request Summary

-
-
- -
-
-

$K

-

Eligibility

-
-
-
-
- -
-
-

$K

-

Loans

-
-
-
-
- -
-
-

$K

-

Repayments

-
-
-
-
- -
-
-

$M

-

Offers

-
-
+ { + Object.values(dashData?.request_summary).map((item, index) => { + return ( +
+
+ +
+
+

$K

+

{Object.keys(item)[0]}

+
+
+ ) + }) + }