From 90f7323a70b810768be50e44656bf36a3d1db125 Mon Sep 17 00:00:00 2001 From: Duro Date: Wed, 8 Jan 2025 18:42:51 -0500 Subject: [PATCH] fix: fix local storage check for us prices (check `'1'` rather than `1`) Signed-off-by: Duro --- src/app/harbor/tabs/tabs.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/harbor/tabs/tabs.tsx b/src/app/harbor/tabs/tabs.tsx index f42b6897..1bbaf190 100644 --- a/src/app/harbor/tabs/tabs.tsx +++ b/src/app/harbor/tabs/tabs.tsx @@ -216,7 +216,7 @@ export default function Harbor({ let usPrices = false try { usPrices = - JSON.parse(localStorage.getItem('shop.country.filter')!)?.value === 1 + JSON.parse(localStorage.getItem('shop.country.filter')!)?.value === '1' } catch (e) {} const currentTix = Number(Cookies.get('tickets') ?? 0) const nextPrize: ShopItem = shopItems