CSR-759 Cleanup

This commit is contained in:
Katie 2022-08-17 11:35:03 -04:00
parent 61ccfe268b
commit 8d01c6b1b3
2 changed files with 0 additions and 5 deletions

View file

@ -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(),

View file

@ -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()}`;
});
}