From e2cfd272dff7e49464889c90fa5f73c44f042518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Mon, 2 Sep 2024 16:40:20 +0200 Subject: [PATCH] Remove toLocaleString from PrettyfyLargeNumbers --- .../common/PrettifyLargeNumber/PrettifyLargeNumber.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/component/common/PrettifyLargeNumber/PrettifyLargeNumber.tsx b/frontend/src/component/common/PrettifyLargeNumber/PrettifyLargeNumber.tsx index 2051bab69b..22e1101aa6 100644 --- a/frontend/src/component/common/PrettifyLargeNumber/PrettifyLargeNumber.tsx +++ b/frontend/src/component/common/PrettifyLargeNumber/PrettifyLargeNumber.tsx @@ -30,7 +30,7 @@ export const PrettifyLargeNumber: FC = ({ let showTooltip = false; if (value < threshold) { - prettyValue = value.toLocaleString(); + prettyValue = `${value}`; } else { prettyValue = millify(value, { precision }); showTooltip = true; @@ -44,7 +44,7 @@ export const PrettifyLargeNumber: FC = ({ + {valueSpan} }