|
|
|
@ -1,7 +1,6 @@ |
|
|
|
"use client"; |
|
|
|
|
|
|
|
import Image from "next/image"; |
|
|
|
import Link from "next/link"; |
|
|
|
import { useRouter } from "next/navigation"; |
|
|
|
import { useEffect, useMemo, useState } from "react"; |
|
|
|
import { useHabibWebReady } from "@/hooks/use-habib-web-ready"; |
|
|
|
@ -244,7 +243,6 @@ export default function RequestAcceptedClient() { |
|
|
|
const [hasConfirmedFemaleContact, setHasConfirmedFemaleContact] = |
|
|
|
useState(false); |
|
|
|
const [showPaymentSuccessToast, setShowPaymentSuccessToast] = useState(false); |
|
|
|
const profileHref = localizePath("/new-match/profile", locale); |
|
|
|
const { data: profile, isLoading } = useMarriageProfileQuery(); |
|
|
|
|
|
|
|
const isFemaleProfile = profile?.gender === "female"; |
|
|
|
@ -729,14 +727,13 @@ export default function RequestAcceptedClient() { |
|
|
|
)} |
|
|
|
</button> |
|
|
|
) : ( |
|
|
|
<Link |
|
|
|
href={profileHref} |
|
|
|
className="flex-1" |
|
|
|
<button |
|
|
|
type="button" |
|
|
|
onClick={() => openProfile()} |
|
|
|
className="flex-1 min-h-[48px] px-3.5 py-2.5 rounded-[14px] border border-[#E2E8F0] bg-white/95 backdrop-blur-sm text-[#475569] font-bold text-[14px] leading-tight shadow-sm flex items-center justify-center text-center whitespace-nowrap transition-all hover:bg-[#F8FAFC] active:scale-[0.98] cursor-pointer" |
|
|
|
> |
|
|
|
<div className="w-full min-h-[48px] px-3.5 py-2.5 rounded-[14px] border border-[#E2E8F0] bg-white/95 backdrop-blur-sm text-[#475569] font-bold text-[14px] leading-tight shadow-sm flex items-center justify-center text-center whitespace-nowrap transition-all hover:bg-[#F8FAFC] active:scale-[0.98]"> |
|
|
|
{primaryActionText} |
|
|
|
</div> |
|
|
|
</Link> |
|
|
|
</button> |
|
|
|
)} |
|
|
|
|
|
|
|
<button |
|
|
|
|