From 10635219b205809535ad0624eaaf690342448362 Mon Sep 17 00:00:00 2001 From: mortezaei Date: Fri, 15 May 2026 20:15:03 +0330 Subject: [PATCH] feat: enhance authentication flow and improve request handling in Intro and AuthBridge --- src/app/intro/page.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/intro/page.tsx b/src/app/intro/page.tsx index e9a0361..2ebc320 100644 --- a/src/app/intro/page.tsx +++ b/src/app/intro/page.tsx @@ -8,10 +8,11 @@ import NavigationButton from "@/components/ui/navigation-button"; import ReportActionsSheet from "@/components/ui/report-actions-sheet"; import { authBridge } from "@/lib/auth-bridge"; import { useMarriageProfileQuery } from "@/hooks/marriage/use-profile-main"; +import type { MarriageProfileResponse } from "@/hooks/marriage/types"; import { localizePath } from "@/i18n/config"; import { useI18n } from "@/i18n/provider"; -function getSubmitPath(profile: ReturnType["data"]) { +function getSubmitPath(profile: MarriageProfileResponse | undefined) { const isInCase = profile?.status === "in_case"; const isFemaleAcceptedFlow = isInCase &&