diff --git a/app/src/app/[lng]/data/[step]/page.tsx b/app/src/app/[lng]/data/[step]/page.tsx index 3cbbdc291..6e3792b7e 100644 --- a/app/src/app/[lng]/data/[step]/page.tsx +++ b/app/src/app/[lng]/data/[step]/page.tsx @@ -184,6 +184,14 @@ export default function OnboardingSteps({ } }; + const onSkip = () => { + if (activeStep >= steps.length - 1) { + router.push("/"); // go back to dashboard until there is a confirmation page + } else { + goToNext(); + } + }; + return (