diff --git a/app/contact/page.tsx b/app/contact/page.tsx index fbd2795..410ca05 100644 --- a/app/contact/page.tsx +++ b/app/contact/page.tsx @@ -1,6 +1,7 @@ "use client" import { BuildingOffice2Icon, EnvelopeIcon, PhoneIcon } from "@heroicons/react/24/outline" -import { FormEvent, use, useEffect, useState } from "react" +import Image from "next/image" +import { FormEvent, useEffect, useState } from "react" export default function Contact() { const [isSent, setIsSent] = useState(false) @@ -48,25 +49,24 @@ export default function Contact() { if(isSent) { const timeout = setTimeout(() => { setIsSent(false) - }, 3000000) + }, 3000) return () => clearTimeout(timeout) } }) return (
@@ -109,7 +109,7 @@ export default function Contact() {