Skip to content

Commit

Permalink
Merge pull request #1086 from DuroCodes/main
Browse files Browse the repository at this point in the history
fix: fix local storage check for us prices (check `'1'` rather than `1`)
  • Loading branch information
maxwofford authored Jan 9, 2025
2 parents 9f47be3 + 90f7323 commit 6e37582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/harbor/tabs/tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e37582

Please sign in to comment.