Updated reports components.

This commit is contained in:
Mike Cao 2025-03-26 21:54:23 -07:00
parent f5bc3dc6c2
commit 0f6cdf8b80
95 changed files with 580 additions and 698 deletions

View file

@ -90,7 +90,7 @@ export function formatCurrency(value: number, currency: string, locale = 'en-US'
style: 'currency',
currency: currency,
});
} catch (error) {
} catch {
// Fallback to default currency format if an error occurs
formattedValue = new Intl.NumberFormat(locale, {
style: 'currency',