1
0
Fork 0

fix: eslint errors

This commit is contained in:
Vojtěch Mareš 2023-06-27 14:01:32 +02:00
parent 1cfdda4e19
commit 44a95cbf1c
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
6 changed files with 60 additions and 36 deletions

View file

@ -1,4 +1,4 @@
export function formatCurrency(price: number | bigint, locale: string = 'en-US', currency: string = 'CZK'): string {
export function formatCurrency(price: number | bigint, locale ='en-US', currency = 'CZK'): string {
const currencyFormatter = new Intl.NumberFormat(locale, {
style: 'currency',
currency: currency,