diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx index 6f5693d..abb2077 100644 --- a/components/Sidebar.tsx +++ b/components/Sidebar.tsx @@ -1,14 +1,4 @@ import useCollectionStore from "@/store/collections"; -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -import { - faFolder, - faHashtag, - faChartSimple, - faChevronDown, - faLink, - faGlobe, - faThumbTack, -} from "@fortawesome/free-solid-svg-icons"; import useTagStore from "@/store/tags"; import Link from "next/link"; import { useRouter } from "next/router"; @@ -25,7 +15,7 @@ export default function Sidebar({ className }: { className?: string }) { () => { const storedValue = localStorage.getItem("collectionDisclosure"); return storedValue ? storedValue === "true" : true; - } + }, ); const { collections } = useCollectionStore(); @@ -42,7 +32,7 @@ export default function Sidebar({ className }: { className?: string }) { useEffect(() => { localStorage.setItem( "collectionDisclosure", - collectionDisclosure ? "true" : "false" + collectionDisclosure ? "true" : "false", ); }, [collectionDisclosure]); @@ -52,21 +42,19 @@ export default function Sidebar({ className }: { className?: string }) { return (
@@ -123,16 +102,14 @@ export default function Sidebar({ className }: { className?: string }) { onClick={() => { setCollectionDisclosure(!collectionDisclosure); }} - className="flex items-center justify-between text-sm w-full text-left mb-2 pl-2 font-bold text-neutral mt-5" + className="flex items-center justify-between w-full text-left mb-2 pl-2 font-bold text-neutral mt-5" > -Collections
- -{e.name}
{e.isPublic ? ( -Tags
-Tags
+{e.name}