From d5d5d212dc84d1e9b426d95124070086e0c2307f Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 19 Dec 2023 13:14:49 +0200 Subject: [PATCH] Use available balance instead of free balance --- src/components/common/balances/Balance.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/balances/Balance.tsx b/src/components/common/balances/Balance.tsx index 9c6f9fcc4..e644d092d 100644 --- a/src/components/common/balances/Balance.tsx +++ b/src/components/common/balances/Balance.tsx @@ -104,7 +104,7 @@ export const useCreateBalance = (address?: AnyAccountId) => { const sub = async () => { unsub = await api.derive.balances.all(address, data => { - const balance = data.freeBalance + const balance = data.availableBalance isMounted && setBalance(balance) }) }