diff --git a/src/helpers/heritage-integration/cookie-helper.js b/src/helpers/heritage-integration/cookie-helper.js index f6f44e3e4..6f4cf1c3b 100644 --- a/src/helpers/heritage-integration/cookie-helper.js +++ b/src/helpers/heritage-integration/cookie-helper.js @@ -9,10 +9,6 @@ export function updateOrCreateFunnelCookie() { const wasClaimRegistrationDelayed = getFunnelCookie()?.HasDelayedClaimRegistration; const shouldSuppressConceptFunnel = getFunnelCookie()?.SuppressConceptFunnel; - // Create the cookie - // if (!getFunnelCookie()) - // createOrUpdateCookie(cookieNames.FUNNEL_SESSION_INFO, {}, {}); - // Set up cookie with all the props. setFunnelCookieProperties({ LastTouched: new Date().toUTCString(), diff --git a/src/helpers/unit-test-helper.js b/src/helpers/unit-test-helper.js index 7e26667e7..cc00e49d9 100644 --- a/src/helpers/unit-test-helper.js +++ b/src/helpers/unit-test-helper.js @@ -107,7 +107,6 @@ export function setupCookies({ funnelCookieValue = "", includeHeritageCookie = t const cookieValue = key == cookieNames.FUNNEL_SESSION_INFO ? funnelCookieValue : cookies[key]; if (includeHeritageCookie || key != cookieNames.FUNNEL_SESSION_INFO) setCookieProperties({ [key]: cookieValue }, { isSecure: false }); - // document.cookie = `${key}=${cookieValue}; path=/; ${getCookieDomainValue()}`; }); }