fix(governance): total supply displayed (#3666)
This commit is contained in:
parent
3acc0e2401
commit
2cb3b55a3b
@ -58,9 +58,15 @@ export const AppLoader = ({ children }: { children: React.ReactElement }) => {
|
|||||||
token.decimals(),
|
token.decimals(),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const totalSupply = toBigNum(supply, decimals);
|
const totalSupply = toBigNum(supply.toString(), decimals);
|
||||||
const totalWallet = toBigNum(totalAssociatedWallet, decimals);
|
const totalWallet = toBigNum(
|
||||||
const totalVesting = toBigNum(totalAssociatedVesting, decimals);
|
totalAssociatedWallet.toString(),
|
||||||
|
decimals
|
||||||
|
);
|
||||||
|
const totalVesting = toBigNum(
|
||||||
|
totalAssociatedVesting.toString(),
|
||||||
|
decimals
|
||||||
|
);
|
||||||
|
|
||||||
appDispatch({
|
appDispatch({
|
||||||
type: AppStateActionType.SET_TOKEN,
|
type: AppStateActionType.SET_TOKEN,
|
||||||
|
Loading…
Reference in New Issue
Block a user