From a4e44019393ec953311d4b80e647f48a36535bed Mon Sep 17 00:00:00 2001 From: Brett Hayes Date: Thu, 21 Jul 2022 12:27:40 -0400 Subject: [PATCH] prettier --- src/components/HubSpotForm.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/HubSpotForm.tsx b/src/components/HubSpotForm.tsx index 6d611a1c774..de788b74c69 100644 --- a/src/components/HubSpotForm.tsx +++ b/src/components/HubSpotForm.tsx @@ -261,7 +261,8 @@ const onFormReady = (form: HTMLFormElement): void => { .reduce((key, string) => Object.assign(key, { [string.split('=')[0].trim()]: string.split('=')[1] }), {}) const { sourcegraphAnonymousUid, sourcegraphSourceUrl } = getAllCookies const landingSource: string = sessionStorage.getItem('landingSource') || '' - const firstSourceURL: string = sourcegraphSourceUrl?.includes('redacted') || !sourcegraphSourceUrl ? landingSource : sourcegraphSourceUrl + const firstSourceURL: string = + sourcegraphSourceUrl?.includes('redacted') || !sourcegraphSourceUrl ? landingSource : sourcegraphSourceUrl populateHiddenFormField('anonymous_user_id', sourcegraphAnonymousUid) populateHiddenFormField('first_source_url', firstSourceURL)