From fb4b36cef25b6dc538ab547eab3054326f3e9c61 Mon Sep 17 00:00:00 2001 From: sebipap Date: Tue, 21 May 2024 12:24:00 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20MaturityPool:=20move=20totals=20?= =?UTF-8?q?to=20tooltip=20and=20rearrange=20columns?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MaturityPool/MaturityPoolsTable/index.tsx | 37 ++++++++++++------- i18n/es/translation.json | 5 ++- 2 files changed, 26 insertions(+), 16 deletions(-) diff --git a/components/asset/MaturityPool/MaturityPoolsTable/index.tsx b/components/asset/MaturityPool/MaturityPoolsTable/index.tsx index 1cf00ba3e..e97716a40 100644 --- a/components/asset/MaturityPool/MaturityPoolsTable/index.tsx +++ b/components/asset/MaturityPool/MaturityPoolsTable/index.tsx @@ -50,12 +50,11 @@ const MaturityPoolsTable: FC = ({ symbol }) => { title={t('Maturity')} tooltipTitle={t('All fixed pools are due at {{hour}}.', { hour: getHourUTC2Local() })} /> - - + = ({ symbol }) => { {parseTimestamp(maturity, "MMM DD, 'YY")} - - ${totalDeposited} - - - ${totalBorrowed} - - - {toPercentage(depositAPR > minAPRValue ? depositAPR : undefined)} - - - {toPercentage(borrowAPR > minAPRValue ? borrowAPR : undefined)} + + + {toPercentage(depositAPR > minAPRValue ? depositAPR : undefined)} + - + + + + + {toPercentage(borrowAPR > minAPRValue ? borrowAPR : undefined)} + + +