diff --git a/src/components/Contact/form.tsx b/src/components/Contact/form.tsx index ce2e328..11ad1cd 100644 --- a/src/components/Contact/form.tsx +++ b/src/components/Contact/form.tsx @@ -20,8 +20,8 @@ const Contact: React.FC = ({ contactFormAccess }) => { setResult("Sending..."); const formData = new FormData(form); - // Append the API access key dynamically - formData.append("access_key", contactFormAccess); + // Remove the FormData append since we're now using a hidden input + // formData.append("access_key", contactFormAccess); try { const response = await fetch("https://api.web3forms.com/submit", { @@ -47,6 +47,12 @@ const Contact: React.FC = ({ contactFormAccess }) => { return (
+ +