From f360125b2bdc1e9de3aa34ca580b02f7e35edeaa Mon Sep 17 00:00:00 2001 From: sam-keen Date: Tue, 9 May 2023 16:09:58 +0100 Subject: [PATCH] fix(3665): ensure total supply (and total wallet and total vesting) displayed --- apps/governance/src/app-loader.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/governance/src/app-loader.tsx b/apps/governance/src/app-loader.tsx index 25c8cb0f3..bfe20cea5 100644 --- a/apps/governance/src/app-loader.tsx +++ b/apps/governance/src/app-loader.tsx @@ -59,8 +59,14 @@ export const AppLoader = ({ children }: { children: React.ReactElement }) => { ]); const totalSupply = toBigNum(supply.toString(), decimals); - const totalWallet = toBigNum(totalAssociatedWallet, decimals); - const totalVesting = toBigNum(totalAssociatedVesting, decimals); + const totalWallet = toBigNum( + totalAssociatedWallet.toString(), + decimals + ); + const totalVesting = toBigNum( + totalAssociatedVesting.toString(), + decimals + ); appDispatch({ type: AppStateActionType.SET_TOKEN,