From 1562565f9a83270cbc7dca763ce9773f596e53ea Mon Sep 17 00:00:00 2001 From: jahooma Date: Tue, 14 Dec 2021 01:09:46 -0600 Subject: [PATCH] Try to fix build maximum fraction digits out of range error --- web/lib/util/format.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/lib/util/format.ts b/web/lib/util/format.ts index 8f3a91e0..064f0ab5 100644 --- a/web/lib/util/format.ts +++ b/web/lib/util/format.ts @@ -2,6 +2,7 @@ const formatter = new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD', maximumFractionDigits: 0, + minimumFractionDigits: 0, }) export function formatMoney(amount: number) {