Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JP Angelle committed Sep 16, 2023
1 parent 8dacfeb commit bc416c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion centrifuge-app/src/pages/Loan/ExternalFinanceForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit bc416c4

Please sign in to comment.