diff --git a/js/lib/dollars.js b/js/lib/dollars.js index 5ef65828..2085a0b5 100644 --- a/js/lib/dollars.js +++ b/js/lib/dollars.js @@ -5,6 +5,10 @@ export const formatDollars = (value, cents = true) => { currency: 'USD', }) } else if (typeof value === 'string') { + if (value === '') { + return value + } + return parseFloat(value).toLocaleString('us-US', { style: 'currency', currency: 'USD',