From a4f48b2ba8e57fec7009c1081dbd9ef3f39843be Mon Sep 17 00:00:00 2001 From: AkiraDev Date: Sat, 4 May 2024 13:24:04 -0700 Subject: [PATCH] BRUH --- src/components/util/SharedUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/util/SharedUtils.ts b/src/components/util/SharedUtils.ts index b64b8517..93f6e84e 100644 --- a/src/components/util/SharedUtils.ts +++ b/src/components/util/SharedUtils.ts @@ -19,7 +19,7 @@ export const getCookies = (cookie: Cookie, names: string[], urlParams: URLSearch : value === 'false' ? false : key == 'colors' ? value.split(',') : !isNaN(Number(value)) ? Number(value) - : (value.startsWith('{') && key !== 'format') ? JSON.parse(value) + : (value.startsWith('{') && key == 'parsed') ? JSON.parse(value) : value; } return parsedCookiesAndParams;