diff --git a/src/components/Nav/MobileMenu/index.tsx b/src/components/Nav/MobileMenu/index.tsx index 89e52a2d279..9163ef93f3f 100644 --- a/src/components/Nav/MobileMenu/index.tsx +++ b/src/components/Nav/MobileMenu/index.tsx @@ -1,6 +1,6 @@ import { Languages, Menu } from "lucide-react" import { getLocale, getTranslations } from "next-intl/server" -import { Trigger as TabsTrigger } from "@radix-ui/react-tabs" +import * as TabsPrimitive from "@radix-ui/react-tabs" import type { Lang } from "@/lib/types" @@ -19,7 +19,6 @@ import { SheetTrigger, } from "@/components/ui/sheet" import { SheetCloseOnNavigate } from "@/components/ui/sheet-close-on-navigate" -import { Tabs, TabsContent, TabsList } from "@/components/ui/tabs" import { cn } from "@/lib/utils/cn" import { isLangRightToLeft } from "@/lib/utils/translations" @@ -68,28 +67,28 @@ export default async function MobileMenu({ - - - - + - + - +
- + {t("languages")} - +
- + {t("menu")} - +
-
+
-
+ )