From cf9957a78d289f6908847a06e4480566f6805903 Mon Sep 17 00:00:00 2001 From: "nabijonovdavronbek619@gmail.com" Date: Wed, 24 Dec 2025 14:59:16 +0500 Subject: [PATCH] for gitea --- components/ContactForm.tsx | 3 --- 1 file changed, 3 deletions(-) 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);