From bc416c4536a8e7ea99c851bac3fb0a034e302973 Mon Sep 17 00:00:00 2001 From: JP Angelle Date: Fri, 15 Sep 2023 21:48:26 -0500 Subject: [PATCH] fix --- centrifuge-app/src/pages/Loan/ExternalFinanceForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centrifuge-app/src/pages/Loan/ExternalFinanceForm.tsx b/centrifuge-app/src/pages/Loan/ExternalFinanceForm.tsx index 559d31c52f..38a4a9d6ce 100644 --- a/centrifuge-app/src/pages/Loan/ExternalFinanceForm.tsx +++ b/centrifuge-app/src/pages/Loan/ExternalFinanceForm.tsx @@ -26,7 +26,7 @@ type RepayValues = { export function ExternalFinanceForm({ loan }: { loan: LoanType }) { const pool = usePool(loan.poolId) const account = useBorrower(loan.poolId, loan.id) - const balances = useBalances(account.actingAddress) + const balances = useBalances(account.signingAccount.address) const balance = (balances && findBalance(balances.currencies, pool.currency.key)?.balance.toDecimal()) || Dec(0) const { current: availableFinancing } = useAvailableFinancing(loan.poolId, loan.id) const { execute: doFinanceTransaction, isLoading: isFinanceLoading } = useCentrifugeTransaction(