From 7db4ca933b951e58ef672754a1f3500a22fb821c Mon Sep 17 00:00:00 2001 From: Thom Shutt Date: Tue, 22 Oct 2024 13:57:55 +0100 Subject: [PATCH] More debugging --- packages/www/components/Register/index.tsx | 4 +--- packages/www/hooks/use-hubspot.tsx | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/www/components/Register/index.tsx b/packages/www/components/Register/index.tsx index c2d6ff174..73d079307 100644 --- a/packages/www/components/Register/index.tsx +++ b/packages/www/components/Register/index.tsx @@ -75,9 +75,7 @@ const Register = ({ id, buttonText, onSubmit, loading, errors }) => { }); // only handle submission to hubspot on prod - if (process.env.NEXT_PUBLIC_SITE_URL === "livepeer.studio") { - handleSubmit(e); - } + handleSubmit(e); const [hashedPassword] = await hash(password, FRONTEND_SALT); // hash password, then diff --git a/packages/www/hooks/use-hubspot.tsx b/packages/www/hooks/use-hubspot.tsx index 59eafdd54..00237cee0 100644 --- a/packages/www/hooks/use-hubspot.tsx +++ b/packages/www/hooks/use-hubspot.tsx @@ -12,6 +12,8 @@ const useHubspotForm = ({ portalId, formId }) => { [portalId, formId], ); + console.log("useMemo URL: " + url); + const fetchData = async () => { setIsError(false); setIsLoading(true);