From 44be3902af1a5f4dbad04a999c869e07fd92652c Mon Sep 17 00:00:00 2001
From: Yurixander R <101931215+yurixander@users.noreply.github.com>
Date: Wed, 10 Apr 2024 03:53:52 -0400
Subject: [PATCH] fix(tangle-dapp): Use proper balance for account summary card
(#2209) (#2210)
---
apps/tangle-dapp/components/account/Balance.tsx | 2 +-
.../BalancesTableContainer/BalancesTableContainer.tsx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/apps/tangle-dapp/components/account/Balance.tsx b/apps/tangle-dapp/components/account/Balance.tsx
index 84c85e53d0..4ec4473375 100644
--- a/apps/tangle-dapp/components/account/Balance.tsx
+++ b/apps/tangle-dapp/components/account/Balance.tsx
@@ -12,7 +12,7 @@ import { formatTokenBalance } from '../../utils/polkadot';
import { InfoIconWithTooltip } from '..';
const Balance: FC = () => {
- const { transferrable: balance } = useBalances();
+ const { free: balance } = useBalances();
const { nativeTokenSymbol } = useNetworkStore();
const formattedBalance =
diff --git a/apps/tangle-dapp/containers/BalancesTableContainer/BalancesTableContainer.tsx b/apps/tangle-dapp/containers/BalancesTableContainer/BalancesTableContainer.tsx
index c81075acc0..54e3aa56ab 100644
--- a/apps/tangle-dapp/containers/BalancesTableContainer/BalancesTableContainer.tsx
+++ b/apps/tangle-dapp/containers/BalancesTableContainer/BalancesTableContainer.tsx
@@ -78,7 +78,7 @@ const BalancesTableContainer: FC = () => {