Fix this logic broken in 1.6.0

This commit is contained in:
Lncvrt committed 2026-03-12 23:20:29 -07:00
1 parent f23d1025d2
commit fb65348ba3
1 file changed
+4 -4
+4 -4
View File
@@ -153,11 +153,11 @@ export default function Sidebar () {
key={`${i.id}-${key}`}
draggable={false}
className={`link ${
(pathname === '/game' &&
((pathname === '/game' &&
Number(params.get('id') || 0) == i.id) ||
(i.id == 1 &&
pathname === '/game/berrydash/leaderboards' &&
category == Number(key))
(i.id == 1 &&
pathname === '/game/berrydash/leaderboards')) &&
category == Number(key)
? 'active'
: ''
} ml-auto w-47.5 ${