Try to fix build maximum fraction digits out of range error
This commit is contained in:
parent
5c7a8e52c9
commit
1562565f9a
|
@ -2,6 +2,7 @@ const formatter = new Intl.NumberFormat('en-US', {
|
||||||
style: 'currency',
|
style: 'currency',
|
||||||
currency: 'USD',
|
currency: 'USD',
|
||||||
maximumFractionDigits: 0,
|
maximumFractionDigits: 0,
|
||||||
|
minimumFractionDigits: 0,
|
||||||
})
|
})
|
||||||
|
|
||||||
export function formatMoney(amount: number) {
|
export function formatMoney(amount: number) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user