diff --git a/components/ContactForm.tsx b/components/ContactForm.tsx index fd6152a..ad8172d 100644 --- a/components/ContactForm.tsx +++ b/components/ContactForm.tsx @@ -2,7 +2,6 @@ import { useState } from "react"; import { motion } from "framer-motion"; -import { usePathname } from "next/navigation"; import { Phone, MessageSquare, MapPin } from "lucide-react"; import Image from "next/image"; import { useLanguage } from "@/context/language-context"; @@ -11,8 +10,6 @@ import axios from "axios"; export function ContactForm() { const { t } = useLanguage(); - const pathname = usePathname(); - const locale = (pathname.split("/")[1] || "uz") as "uz" | "ru"; const productName = useProductStore((state) => state.productName);