Remove comments

This commit is contained in:
Michaela Brydon 2024-07-18 11:04:19 -04:00
parent 1cbf243543
commit ec98a1916c

View file

@ -57,7 +57,7 @@ const routes = [
// 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 (getISSCookie() !== null && !isSavedSessionStillActive()) { if (getISSCookie() !== null && !isSavedSessionStillActive()) {
// await baseMixin.methods.dispatchStoreAction(storeActions.RESET_STATE); // await baseMixin.methods.dispatchStoreAction(storeActions.RESET_STATE);
await GoToStartOn404(next); // TODO maybe here await GoToStartOn404(next);
} }
// Process ISS cookie. // Process ISS cookie.
@ -73,7 +73,7 @@ const routes = [
} }
if (!arePagePrerequisitesValid(component)) { if (!arePagePrerequisitesValid(component)) {
await GoToStartOn404(next); // TODO maybe here await GoToStartOn404(next);
} }
return next({ name: issPageToUse, query: to.query, params: to.params }); return next({ name: issPageToUse, query: to.query, params: to.params });
@ -113,7 +113,7 @@ const routes = [
}); });
} catch (error) { } catch (error) {
window.console.warn(error); window.console.warn(error);
await GoToStartOn404(next); // TODO maybe here await GoToStartOn404(next);
} }
return null; return null;
} }