Skip to content

Commit

Permalink
del and trad console log
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain GREFFIER committed Jan 7, 2025
1 parent c377d5a commit 0fa7367
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ export const getValueFormatter = (
const urlLocale = urlParams.get('locale');

if (!urlLocale) {
console.log('Cas par défaut : pas de locale spécifiée');
if (currencyFormat?.symbol) {
return new CurrencyFormatter({ currency: currencyFormat, d3Format });
}
Expand All @@ -112,7 +111,7 @@ export const getValueFormatter = (
description: `Formats numbers as currency in ${currency}`,
});
} catch (error) {
console.error('Erreur lors de la création du formateur de nombre:', error);
console.error('Error during number formater creation:', error);
return getNumberFormatter(d3Format);
}
}
Expand Down

0 comments on commit 0fa7367

Please sign in to comment.