diff --git a/src/router/index.js b/src/router/index.js index 2e3bd657..53dfb91f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -57,7 +57,7 @@ const routes = [ // If the saved session has timed out, clear the session, execute 404 logic. if (getISSCookie() !== null && !isSavedSessionStillActive()) { // await baseMixin.methods.dispatchStoreAction(storeActions.RESET_STATE); - await GoToStartOn404(next); // TODO maybe here + await GoToStartOn404(next); } // Process ISS cookie. @@ -73,7 +73,7 @@ const routes = [ } if (!arePagePrerequisitesValid(component)) { - await GoToStartOn404(next); // TODO maybe here + await GoToStartOn404(next); } return next({ name: issPageToUse, query: to.query, params: to.params }); @@ -113,7 +113,7 @@ const routes = [ }); } catch (error) { window.console.warn(error); - await GoToStartOn404(next); // TODO maybe here + await GoToStartOn404(next); } return null; }