From d6d4602aa63585292fdc43be701d22d59e5c7b7f Mon Sep 17 00:00:00 2001 From: Anukul Pandey Date: Thu, 5 Sep 2024 12:29:09 +0530 Subject: [PATCH] feat: locked balance --- src/components/AccountSelector/AccountSelector.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/AccountSelector/AccountSelector.tsx b/src/components/AccountSelector/AccountSelector.tsx index ac44ce6..cb68cf3 100644 --- a/src/components/AccountSelector/AccountSelector.tsx +++ b/src/components/AccountSelector/AccountSelector.tsx @@ -82,13 +82,15 @@ export const AccountSelector = ({ useEffect(() => { const allAccounts: Account[] = accounts.map((acc) => { - const { name, address, evmAddress, source, isEvmClaimed } = acc; + const { name, address, evmAddress, source, isEvmClaimed,lockedBalance,freeBalance } = (acc as any); return { name, address, evmAddress, source, isEvmClaimed, + lockedBalance, + freeBalance } as Account; }); setAllAccounts(allAccounts);