From c5be0b6b04b5c012dbd9285a16af00ba768d7787 Mon Sep 17 00:00:00 2001 From: webfussel Date: Tue, 6 May 2025 08:21:58 +0200 Subject: [PATCH] fix: replace bug Fixed missing fallback for old local storage saves --- app/utils/number.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/number.ts b/app/utils/number.ts index ae71567..388e4cb 100644 --- a/app/utils/number.ts +++ b/app/utils/number.ts @@ -1 +1 @@ -export const replaceComma = (value: string) => value.replace(',', '.'); \ No newline at end of file +export const replaceComma = (value: string | number) => `${value}`.replace(',', '.'); \ No newline at end of file