Merge pull request #310 from Safelite/feature/CSR-99
Stopped 404 from happening on initial load
This commit is contained in:
commit
32fed40eec
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ const routes = [
|
||||||
try {
|
try {
|
||||||
|
|
||||||
// If the saved session has timed out, clear the session, execute 404 logic.
|
// If the saved session has timed out, clear the session, execute 404 logic.
|
||||||
if (!isSavedSessionStillActive()) {
|
if (getFunnelCookie() !== null && !isSavedSessionStillActive()) {
|
||||||
await GoToFunnelStartOn404(next);
|
await GoToFunnelStartOn404(next);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue