import { useState } from "@webpack/common"; import "./DeckSidebar.css"; import { cl } from "./util"; enum SidebarTabs { ADD_CHANNEL = "add_channel", DECKS = "decks", CONFIGURE = "configure" } export default function DeckSidebar() { const [tab, setTab] = useState(null); const toggleTab = (value) => setTab((current) => current === value ? null : value); return
; }