From a4572cf5702957ed7872e752e42d6acad1ca15e6 Mon Sep 17 00:00:00 2001 From: juan Date: Wed, 17 Feb 2021 18:04:02 -0500 Subject: [PATCH] fixed boxes layout --- src/hooks/useBalanceByCollateral.tsx | 2 +- src/views/borrowReserve/index.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/hooks/useBalanceByCollateral.tsx b/src/hooks/useBalanceByCollateral.tsx index 3986db1..1943a42 100644 --- a/src/hooks/useBalanceByCollateral.tsx +++ b/src/hooks/useBalanceByCollateral.tsx @@ -26,6 +26,6 @@ export const useBalanceByCollateral = (collateralReserve?: string) => { } else { setBalance(0); } - }); + }, [collateralReserve, userDeposits.userDeposits]); return balance; }; diff --git a/src/views/borrowReserve/index.tsx b/src/views/borrowReserve/index.tsx index f833cee..5b11080 100644 --- a/src/views/borrowReserve/index.tsx +++ b/src/views/borrowReserve/index.tsx @@ -90,7 +90,7 @@ export const BorrowReserveView = () => { /> - + { /> - + { - + - +