CSR-759 Cleanup
This commit is contained in:
parent
61ccfe268b
commit
8d01c6b1b3
2 changed files with 0 additions and 5 deletions
|
|
@ -9,10 +9,6 @@ export function updateOrCreateFunnelCookie() {
|
||||||
const wasClaimRegistrationDelayed = getFunnelCookie()?.HasDelayedClaimRegistration;
|
const wasClaimRegistrationDelayed = getFunnelCookie()?.HasDelayedClaimRegistration;
|
||||||
const shouldSuppressConceptFunnel = getFunnelCookie()?.SuppressConceptFunnel;
|
const shouldSuppressConceptFunnel = getFunnelCookie()?.SuppressConceptFunnel;
|
||||||
|
|
||||||
// Create the cookie
|
|
||||||
// if (!getFunnelCookie())
|
|
||||||
// createOrUpdateCookie(cookieNames.FUNNEL_SESSION_INFO, {}, {});
|
|
||||||
|
|
||||||
// Set up cookie with all the props.
|
// Set up cookie with all the props.
|
||||||
setFunnelCookieProperties({
|
setFunnelCookieProperties({
|
||||||
LastTouched: new Date().toUTCString(),
|
LastTouched: new Date().toUTCString(),
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,6 @@ export function setupCookies({ funnelCookieValue = "", includeHeritageCookie = t
|
||||||
const cookieValue = key == cookieNames.FUNNEL_SESSION_INFO ? funnelCookieValue : cookies[key];
|
const cookieValue = key == cookieNames.FUNNEL_SESSION_INFO ? funnelCookieValue : cookies[key];
|
||||||
if (includeHeritageCookie || key != cookieNames.FUNNEL_SESSION_INFO)
|
if (includeHeritageCookie || key != cookieNames.FUNNEL_SESSION_INFO)
|
||||||
setCookieProperties({ [key]: cookieValue }, { isSecure: false });
|
setCookieProperties({ [key]: cookieValue }, { isSecure: false });
|
||||||
// document.cookie = `${key}=${cookieValue}; path=/; ${getCookieDomainValue()}`;
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue