Skip to content

Commit

Permalink
More debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
thomshutt committed Oct 22, 2024
1 parent b9382a1 commit 7db4ca9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions packages/www/components/Register/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions packages/www/hooks/use-hubspot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ const useHubspotForm = ({ portalId, formId }) => {
[portalId, formId],
);

console.log("useMemo URL: " + url);

const fetchData = async () => {
setIsError(false);
setIsLoading(true);
Expand Down

0 comments on commit 7db4ca9

Please sign in to comment.