Add categories to sidebar

This commit is contained in:
Lncvrt committed 2026-02-10 14:25:02 -07:00
1 parent 3c7487f20f
commit abebc0bb08
5 files changed
+110 -39

No files matched your search

+5 -1
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