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 &&