From cd57c86bc1ea7afda5a55429900d04c1c54e45b1 Mon Sep 17 00:00:00 2001 From: Yuho Date: Mon, 15 Jan 2024 10:00:36 +0800 Subject: [PATCH] update ui --- screens/Dashboard/dashboardOverview.tsx | 73 +++++++++++++------------ 1 file changed, 38 insertions(+), 35 deletions(-) diff --git a/screens/Dashboard/dashboardOverview.tsx b/screens/Dashboard/dashboardOverview.tsx index c905aec7..aa22b57d 100644 --- a/screens/Dashboard/dashboardOverview.tsx +++ b/screens/Dashboard/dashboardOverview.tsx @@ -126,10 +126,12 @@ const DashboardOverview = ({ suppliedRows, borrowedRows }) => {
-
+
{/*
*/} -
-
+
+
@@ -145,38 +147,6 @@ const DashboardOverview = ({ suppliedRows, borrowedRows }) => {
{rewardsObj?.data?.totalUnClaimUSDDisplay || "$0"}
-
1 ? 45 : 20 }} - > - {rewardsObj?.brrr?.icon ? ( - token - ) : null} - - {rewardsObj?.extra?.length - ? rewardsObj.extra.map((d, i) => { - const extraData = d?.[1]; - return ( - token - ); - }) - : null} -
{rewardsObj?.data?.totalUnClaimUSD > 0 && ( @@ -192,6 +162,39 @@ const DashboardOverview = ({ suppliedRows, borrowedRows }) => {
)}
+ +
1 ? 45 : 20 }} + > + {rewardsObj?.brrr?.icon ? ( + token + ) : null} + + {rewardsObj?.extra?.length + ? rewardsObj.extra.map((d, i) => { + const extraData = d?.[1]; + return ( + token + ); + }) + : null} +