Try to fix build maximum fraction digits out of range error

This commit is contained in:
jahooma 2021-12-14 01:09:46 -06:00
parent 5c7a8e52c9
commit 1562565f9a

View File

@ -2,6 +2,7 @@ const formatter = new Intl.NumberFormat('en-US', {
style: 'currency',
currency: 'USD',
maximumFractionDigits: 0,
minimumFractionDigits: 0,
})
export function formatMoney(amount: number) {