Browse Source

fix page

master
mortezaei 9 hours ago
parent
commit
f7e556382d
  1. 3
      src/app/new-match/profile/page.tsx
  2. 4
      src/components/Componentes/match-profile-overlay.tsx

3
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({

4
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;
};
/**

Loading…
Cancel
Save