diff --git a/src/lib/util/parseAmount.ts b/src/lib/util/parseAmount.ts index 80dc61b6..6035a352 100644 --- a/src/lib/util/parseAmount.ts +++ b/src/lib/util/parseAmount.ts @@ -7,7 +7,7 @@ export interface FormattedAmount { amountFormattedFull: string; } -function removeTrailingZeros(numStr: string): string { +export function removeTrailingZeros(numStr: string): string { return numStr.replace(/\.?0+$/, ''); }