Skip to content

Commit

Permalink
chore: remove subscription logic
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-stumpf committed Aug 23, 2024
1 parent 12642b5 commit 887722b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const Page = () => {
...prev,
referrerProfile: data.referrerProfile,
}))
router.push("choose-pass")
router.push("start-profile")
}
}}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <CreateProfileSkeleton />
}

Expand Down

0 comments on commit 887722b

Please sign in to comment.