diff --git a/src/components/sections/contact/form/index.tsx b/src/components/sections/contact/form/index.tsx index abbe48a..951da21 100644 --- a/src/components/sections/contact/form/index.tsx +++ b/src/components/sections/contact/form/index.tsx @@ -40,7 +40,7 @@ const CustomForm = ({ data }: FormProps) => { const [errorMsg, setErrorMsg] = useState('') const [isFormSent, setIsFormSent] = useState(false) const [isSending, setIsSending] = useState(false) - const reRef = useRef() + // const reRef = useRef() const handleSubmit = async (e: any) => { e.preventDefault() @@ -61,7 +61,7 @@ const CustomForm = ({ data }: FormProps) => { inquiry: selectedOption.value } - const token = await reRef.current.executeAsync() + // const token = await reRef.current.executeAsync() await fetch(`${process.env.NEXT_PUBLIC_API}/api/contact`, { method: 'POST', @@ -127,11 +127,11 @@ const CustomForm = ({ data }: FormProps) => { onChange={(e) => setText(e.target.value)} > - + /> */}