diff --git a/web/src/utils/index.ts b/web/src/utils/index.ts index 938f2de46..0d37380be 100644 --- a/web/src/utils/index.ts +++ b/web/src/utils/index.ts @@ -5,7 +5,7 @@ export const isUndefined = (maybeObject: any): maybeObject is undefined => typeo export const formatUnitsWei = (value: bigint) => formatUnits(value, 18); -export const formatPNK = (value: bigint, fractionDigits = 4) => +export const formatPNK = (value: bigint, fractionDigits = 0) => commify(Number(formatUnitsWei(value)).toFixed(fractionDigits)); export const formatETH = (value: bigint, fractionDigits = 4) =>