import Link from "next/link"; import { useTranslation } from "@/lib/i18n/server"; import { TFunction } from "i18next"; import serverConfig from "@karakeep/shared/config"; import SidebarItem from "./SidebarItem"; import { TSidebarItem } from "./TSidebarItem"; export default async function Sidebar({ items, extraSections, }: { items: (t: TFunction) => TSidebarItem[]; extraSections?: React.ReactNode; }) { const { t } = await useTranslation(); return ( ); }