Add categories to sidebar

This commit is contained in:
2026-02-10 14:23:37 -07:00
parent 3c7487f20f
commit abebc0bb08
5 changed files with 110 additions and 39 deletions

View File

@@ -82,6 +82,8 @@ export default function RootLayout ({
useState<boolean>(false)
const [selectedGame, setSelectedGame] = useState<number | null>(null)
const [category, setCategory] = useState<number>(-1)
const pathname = usePathname()
const revisionCheck = useRef(false)
@@ -480,7 +482,9 @@ export default function RootLayout ({
getVersionsAmountData,
viewingInfoFromDownloads,
version,
downloadVersions
downloadVersions,
category,
setCategory
}}
>
<div