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

@@ -43,6 +43,8 @@ type GlobalCtxType = {
viewingInfoFromDownloads: boolean
version: string | null
downloadVersions: (list: string[]) => Promise<void>
category: number
setCategory: Dispatch<SetStateAction<number>>
}
const GlobalCtx = createContext<GlobalCtxType | null>(null)