diff --git a/src/app/new-match/profile/page.tsx b/src/app/new-match/profile/page.tsx index c783af1..7f6f9b3 100644 --- a/src/app/new-match/profile/page.tsx +++ b/src/app/new-match/profile/page.tsx @@ -18,6 +18,7 @@ import type { MarriageFieldValue, MarriageGender, MarriagePhoneFieldValue, + MarriageProfileResponse, } from "@/hooks/marriage/types"; import { useRespondToMarriageCaseMutation } from "@/hooks/marriage/use-case-respond"; import { useMarriageProfileQuery } from "@/hooks/marriage/use-profile-main"; @@ -266,7 +267,7 @@ function formatBoldText(text: string) { type NewMatchProfilePageProps = { onClose?: () => void; - profile?: MarriageProfile; + profile?: MarriageProfileResponse; }; export default function NewMatchProfilePage({ diff --git a/src/components/Componentes/match-profile-overlay.tsx b/src/components/Componentes/match-profile-overlay.tsx index ba243a2..d940ee2 100644 --- a/src/components/Componentes/match-profile-overlay.tsx +++ b/src/components/Componentes/match-profile-overlay.tsx @@ -4,12 +4,12 @@ import { useCallback, useEffect, useState } from "react"; import NewMatchProfilePage from "@/app/new-match/profile/page"; import SectionOverlayHost from "@/components/Componentes/section-overlay-host"; import { useHardwareBackHandler } from "@/hooks/use-hardware-back-handler"; -import type { MarriageProfile } from "@/hooks/marriage/types"; +import type { MarriageProfileResponse } from "@/hooks/marriage/types"; export type MatchProfileOverlayProps = { open: boolean; onClose: () => void; - profile?: MarriageProfile; + profile?: MarriageProfileResponse; }; /**