Explicitly redirect to confirmation rather than cancelling nav.

This commit is contained in:
Chloe Herd 2025-05-22 09:57:09 -04:00
parent 1f59e6f023
commit 42025313b5

View file

@ -49,7 +49,9 @@ export async function beforeEach(to, from) {
const exceptionPages = [FUNNEL_START_PAGE.name, routeData.CONFIRMATION.name];
if (!exceptionPages.some((name) => to.name === name) && !isVirtualRoute(to.name)) {
return false;
return {
name: routeData.CONFIRMATION.name,
};
}
}