diff --git a/src/app/(marketing)/create-profile/(onboarding)/choose-pass/page.tsx b/src/app/(marketing)/create-profile/(onboarding)/_choose-pass/page.tsx similarity index 100% rename from src/app/(marketing)/create-profile/(onboarding)/choose-pass/page.tsx rename to src/app/(marketing)/create-profile/(onboarding)/_choose-pass/page.tsx diff --git a/src/app/(marketing)/create-profile/(onboarding)/purchase-pass/page.tsx b/src/app/(marketing)/create-profile/(onboarding)/_purchase-pass/page.tsx similarity index 100% rename from src/app/(marketing)/create-profile/(onboarding)/purchase-pass/page.tsx rename to src/app/(marketing)/create-profile/(onboarding)/_purchase-pass/page.tsx diff --git a/src/app/(marketing)/create-profile/(onboarding)/claim-pass/page.tsx b/src/app/(marketing)/create-profile/(onboarding)/claim-pass/page.tsx index 04fa961544..97d676b5c1 100644 --- a/src/app/(marketing)/create-profile/(onboarding)/claim-pass/page.tsx +++ b/src/app/(marketing)/create-profile/(onboarding)/claim-pass/page.tsx @@ -50,7 +50,7 @@ const Page = () => { ...prev, referrerProfile: data.referrerProfile, })) - router.push("choose-pass") + router.push("start-profile") } }} /> diff --git a/src/app/(marketing)/create-profile/(onboarding)/start-profile/page.tsx b/src/app/(marketing)/create-profile/(onboarding)/start-profile/page.tsx index 01b7a15da0..50d6e6ec62 100644 --- a/src/app/(marketing)/create-profile/(onboarding)/start-profile/page.tsx +++ b/src/app/(marketing)/create-profile/(onboarding)/start-profile/page.tsx @@ -14,12 +14,9 @@ const Page = () => { if (!data.referrerProfile) { router.replace("claim-pass") } - if (!data.subscription) { - router.replace("choose-pass") - } }, [data, router.replace]) - if (!data.subscription || !data.referrerProfile) { + if (!data.referrerProfile) { return }