mars-v2-frontend/hooks/mutations
Gustavo Mauricio 56bfea8ed0
Update account stats on pending action (#51)
* feat: update account stats on pending action

* lift repay amount with buffer calculation to repay modal

* refactor navigation component to properly format account stats

* update repay funds hook using credit manager client

* consider market liquidity when calculating max withdraw amount

* refactor useMaxBorrowAmount hook to be consistent with withdraw

* format

* remove duplicated import statements
2022-11-09 13:47:36 +01:00
..
useBorrowFunds.tsx Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
useCreateCreditAccount.tsx Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
useDeleteCreditAccount.tsx Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
useDepositCreditAccount.tsx Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
useRepayFunds.tsx Update account stats on pending action (#51) 2022-11-09 13:47:36 +01:00
useWithdrawFunds.tsx Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00