From 7750942ca51a5e29a2bfb44a9ae543878fd3de2e Mon Sep 17 00:00:00 2001 From: saml33 Date: Wed, 22 Mar 2023 10:00:51 +1100 Subject: [PATCH] fix -ve available to borrow and token stats value decimals --- components/borrow/AssetsBorrowsTable.tsx | 7 ++----- components/borrow/YourBorrowsTable.tsx | 1 - components/shared/BankAmountWithValue.tsx | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/components/borrow/AssetsBorrowsTable.tsx b/components/borrow/AssetsBorrowsTable.tsx index 72e5dd24..7c0f0b3a 100644 --- a/components/borrow/AssetsBorrowsTable.tsx +++ b/components/borrow/AssetsBorrowsTable.tsx @@ -96,7 +96,6 @@ const AssetsBorrowsTable = () => { @@ -104,9 +103,8 @@ const AssetsBorrowsTable = () => {
0 ? available : 0} bank={bank} - fixDecimals={false} stacked />
@@ -169,8 +167,7 @@ const AssetsBorrowsTable = () => { {t('available')}

0 ? available : 0} bank={bank} /> diff --git a/components/borrow/YourBorrowsTable.tsx b/components/borrow/YourBorrowsTable.tsx index 14672bc6..3e494150 100644 --- a/components/borrow/YourBorrowsTable.tsx +++ b/components/borrow/YourBorrowsTable.tsx @@ -134,7 +134,6 @@ const YourBorrowsTable = ({ banks }: { banks: BankWithBalance[] }) => { diff --git a/components/shared/BankAmountWithValue.tsx b/components/shared/BankAmountWithValue.tsx index 65fdf49d..fe165679 100644 --- a/components/shared/BankAmountWithValue.tsx +++ b/components/shared/BankAmountWithValue.tsx @@ -25,7 +25,7 @@ const BankAmountWithValue = ({