Use website for berry dash leaderboards

This commit is contained in:
Lncvrt committed 2026-05-07 11:56:41 -07:00
1 parent f6b027d3b2
commit ca6d85e23c
5 files changed
+18 -392

No files matched your search

+4 -8
View File
@@ -132,10 +132,8 @@ export default function Sidebar () {
<div
draggable={false}
className={`link ${
(pathname === '/main/game' &&
Number(params.get('id') || 0) == i.id) ||
(i.id == 1 &&
pathname === '/main/game/berrydash/leaderboards')
pathname === '/main/game' &&
Number(params.get('id') || 0) == i.id
? 'active'
: ''
} ml-auto w-50 ${
@@ -191,10 +189,8 @@ export default function Sidebar () {
key={`${i.id}-${key}`}
draggable={false}
className={`link ${
((pathname === '/main/game' &&
Number(params.get('id') || 0) == i.id) ||
(i.id == 1 &&
pathname === '/main/game/berrydash/leaderboards')) &&
pathname === '/main/game' &&
Number(params.get('id') || 0) == i.id &&
category == Number(key)
? 'active'
: ''