From 702dbffd3dd45f381a25fa868880f7da6cead8bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Mon, 2 Sep 2024 16:16:39 +0200 Subject: [PATCH] Disable one instance of toLocaleString --- frontend/src/hooks/useTrafficData.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/hooks/useTrafficData.ts b/frontend/src/hooks/useTrafficData.ts index bbd7b74ef6..00c6e184d9 100644 --- a/frontend/src/hooks/useTrafficData.ts +++ b/frontend/src/hooks/useTrafficData.ts @@ -62,7 +62,7 @@ export const toSelectablePeriod = ( dayCount, label: label || - date.toLocaleString('en-US', { month: 'long', year: 'numeric' }), + "date.toLocaleString('en-US', { month: 'long', year: 'numeric' })", }; };