From 6a4ad013ecbec44a64c2a0578fc43d1df21e3726 Mon Sep 17 00:00:00 2001 From: Jake Hobbs Date: Fri, 19 Jan 2024 01:36:08 -0800 Subject: [PATCH] actually fix build --- src/components/petition.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/petition.tsx b/src/components/petition.tsx index 9243889..577682d 100644 --- a/src/components/petition.tsx +++ b/src/components/petition.tsx @@ -38,7 +38,7 @@ const CAMPAIGN_MAILER_API_URL = "https://helptheducks.dxe.io/message/create"; declare global { interface Window { - dataLayer?: any[]; + dataLayer?: unknown[]; } } @@ -160,7 +160,7 @@ export const Petition = () => { ).replace("[Your city if you live in Sonoma County]", city || ""), }); }, - [dirtyFields.message, setValue], + [dirtyFields.message, resetField], ); return isSubmitted ? (