import { Archive, Star, Tag, Home, PackageOpen, Settings } from "lucide-react"; import { redirect } from "next/navigation"; import SidebarItem from "./SidebarItem"; import { getServerAuthSession } from "@/server/auth"; import Link from "next/link"; import SidebarProfileOptions from "./SidebarProfileOptions"; import { Separator } from "@/components/ui/separator"; import AllLists from "./AllLists"; export default async function Sidebar() { const session = await getServerAuthSession(); if (!session) { redirect("/"); } return ( ); }