fix(3665): ensure total supply (and total wallet and total vesting) displayed

This commit is contained in:
sam-keen
2023-05-09 16:09:58 +01:00
parent 1c8239cd90
commit f360125b2b
+8 -2
View File
@@ -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,