import { useTranslation } from "@/lib/i18n/server"; import { TFunction } from "i18next"; import MobileSidebarItem from "./ModileSidebarItem"; import { TSidebarItem } from "./TSidebarItem"; export default async function MobileSidebar({ items, }: { items: (t: TFunction) => TSidebarItem[]; }) { // oxlint-disable-next-line rules-of-hooks const { t } = await useTranslation(); return ( ); }