diff --git a/components/factory/forms/MintForm.tsx b/components/factory/forms/MintForm.tsx index dfc0c4c1..610e291e 100644 --- a/components/factory/forms/MintForm.tsx +++ b/components/factory/forms/MintForm.tsx @@ -14,7 +14,6 @@ import { TailwindModal } from '@/components/react/modal'; export default function MintForm({ isAdmin, - admin, denom, address, refetch, @@ -23,7 +22,6 @@ export default function MintForm({ onMultiMintClick, }: Readonly<{ isAdmin: boolean; - admin: string; denom: ExtendedMetadataSDKType; address: string; refetch: () => void; @@ -104,44 +102,19 @@ export default function MintForm({

+
-

- YOUR BALANCE +

+ CIRCULATING SUPPLY

-

- {Number(shiftDigits(balance, -exponent)).toLocaleString(undefined, { +

+ {Number(shiftDigits(totalSupply, -exponent)).toLocaleString(undefined, { maximumFractionDigits: exponent, - })} + })}{' '}

- {denom?.denom_units[1]?.exponent && ( -
-

- EXPONENT -

-
-

- {denom?.denom_units[1]?.exponent} -

-
-
- )} - {totalSupply !== '0' && ( -
-

- CIRCULATING SUPPLY -

-
-

- {Number(shiftDigits(totalSupply, -exponent)).toLocaleString(undefined, { - maximumFractionDigits: exponent, - })}{' '} -

-
-
- )} {!denom.base.includes('umfx') && (