diff --git a/src/lib/get-submit-path.ts b/src/lib/get-submit-path.ts index 7e6753f..2bf261e 100644 --- a/src/lib/get-submit-path.ts +++ b/src/lib/get-submit-path.ts @@ -55,11 +55,7 @@ export function getSubmitPath(profile: MarriageProfileResponse | undefined) { return "/terms"; } - if (profile.status === "pending_info" && !isMatchSubmitted) { - return "/questions-list"; - } - - if (profile.status === "waiting" || isMatchSubmitted) { + if (profile.status === "waiting") { return "/finding-match"; } @@ -71,10 +67,6 @@ export function getSubmitPath(profile: MarriageProfileResponse | undefined) { return "/finding-match"; } - if (profile.status === "waiting") { - return "/finding-match"; - } - if (profile.status === "pending_info") { // The backend may still report pending_info for a moment right after the // match request is sent, so honour a short grace window to avoid bouncing