Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jpuri committed Jul 25, 2024
1 parent 23fa295 commit 3f21bca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export function formatAmount(locale: string, amount: BigNumber): string {
// string is valid parameter for format function
// for some reason it gives TS issue
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/format#number
amount.toFixed(maximumFractionDigits) as unknown as number,
amount.toFixed(0) as unknown as number,
);
}

Expand Down

0 comments on commit 3f21bca

Please sign in to comment.