for gitea
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
import { useState } from "react";
|
import { useState } from "react";
|
||||||
import { motion } from "framer-motion";
|
import { motion } from "framer-motion";
|
||||||
import { usePathname } from "next/navigation";
|
|
||||||
import { Phone, MessageSquare, MapPin } from "lucide-react";
|
import { Phone, MessageSquare, MapPin } from "lucide-react";
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
import { useLanguage } from "@/context/language-context";
|
import { useLanguage } from "@/context/language-context";
|
||||||
@@ -11,8 +10,6 @@ import axios from "axios";
|
|||||||
|
|
||||||
export function ContactForm() {
|
export function ContactForm() {
|
||||||
const { t } = useLanguage();
|
const { t } = useLanguage();
|
||||||
const pathname = usePathname();
|
|
||||||
const locale = (pathname.split("/")[1] || "uz") as "uz" | "ru";
|
|
||||||
|
|
||||||
const productName = useProductStore((state) => state.productName);
|
const productName = useProductStore((state) => state.productName);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user