Removed debugging statements.

This commit is contained in:
Jeremy-Z 2026-07-01 13:20:25 -04:00
parent db1222a53e
commit 585a975a9d
2 changed files with 0 additions and 2 deletions

View file

@ -26,7 +26,6 @@ export async function saveSession({ shouldAwaitSaveSessionQueue = false, submitA
// This should await anytime the referral number is not set, or the shouldAwaitSaveSessionQueue is set to true.
if (!store.order.referralNumber || shouldAwaitSaveSessionQueue) {
console.log('Awaiting save session promise', store.order.referralNumber, shouldAwaitSaveSessionQueue);
await saveSessionPromise;
}
}

View file

@ -162,7 +162,6 @@ router.beforeEach(async (to, from) => {
// This only needs to be called once in a certain location, all other saveession calls are async in afterEach (except the last one on order submission)
// NOTE: This call should be creating the referral number. After this point in the site flow, referral number is critical for several pieces of logic and logging.
// Thereforce, we want to force a bailout here if it errors out.
console.log('Saving session with waiting coming from duplicate check page.');
showIssLoadingModal(true);
await saveSession({ shouldAwaitSaveSessionQueue: true,bailoutOnError: true });
showIssLoadingModal(false);