Browse Source

fix: update submit path for pending onboarding status to redirect to terms

master
mortezaei 2 months ago
parent
commit
95f8fdcce2
  1. 2
      src/app/intro/page.tsx

2
src/app/intro/page.tsx

@ -25,7 +25,7 @@ function getSubmitPath(profile: MarriageProfileResponse | undefined) {
: isInCase && profile?.active_case?.status === "male_accepted"
? "/request-sent"
: profile?.status === "pending_onboarding"
? "/rules"
? "/terms"
: profile?.status === "pending_info"
? "/questions-list"
: profile?.status === "waiting"

Loading…
Cancel
Save