diff --git a/src/app/new-match/new-match-client.tsx b/src/app/new-match/new-match-client.tsx index 8f52cd7..299f9d7 100644 --- a/src/app/new-match/new-match-client.tsx +++ b/src/app/new-match/new-match-client.tsx @@ -605,6 +605,12 @@ export default function NewMatchClient() { const matchSummary = profile?.match_summary ?? null; const matchDisplay = useMatchSummaryDisplay(matchSummary, t); + const isCandidateFemale = + matchSummary?.gender === "female" || profile?.gender === "male"; + const candidateAvatarSrc = isCandidateFemale + ? "/assets/images/female_avatar.svg" + : "/assets/images/Group 1597880481.png"; + if (typeof window !== "undefined") { if (!matchSummary && !isLoading && !isRedirecting) { console.warn( @@ -786,11 +792,7 @@ export default function NewMatchClient() {