"use client"; import { useState } from "react"; import { useTranslations } from "next-intl"; import InfoMessage from "@/components/InfoMessage"; import { handleEmailSubmit } from "@/handlers/formHandlers"; import useContactForm from "@/hooks/useContactForm"; const ContactForm = () => { const t = useTranslations("Contact"); const { values, handleChange, resetForm } = useContactForm(); const [isSending, setIsSending] = useState(false); const [responseMessage, setResponseMessage] = useState({ isSuccessful: false, message: "", }); return ( <>
> ); }; export default ContactForm;