From cb3c34ee9035aa200e1302d024624cd10109afe7 Mon Sep 17 00:00:00 2001 From: mortezaei Date: Thu, 20 Aug 2026 19:06:37 +0330 Subject: [PATCH] fix input autofill code --- src/app/new-match/new-match-client.tsx | 104 +++++++++--------- .../Componentes/advisor-actions-card.tsx | 6 +- 2 files changed, 55 insertions(+), 55 deletions(-) diff --git a/src/app/new-match/new-match-client.tsx b/src/app/new-match/new-match-client.tsx index 4a7d827..8f9321c 100644 --- a/src/app/new-match/new-match-client.tsx +++ b/src/app/new-match/new-match-client.tsx @@ -385,7 +385,7 @@ function useMatchSummaryDisplay( function FieldLine({ field }: { field: DisplayField }) { return ( -

+

{field.label}: {field.value}

@@ -522,57 +522,57 @@ export default function NewMatchClient() {
-
+
{/* Header Section Skeleton */} -
- - - - +
+ + + +
-
+
{/* Match Card Skeleton */} -
+
{/* Name line */} - + {/* Subtitle / Details lines */} -
+
{/* Button skeleton */} - +
{/* Advisor Card Skeleton */} -
-
- -
- - +
+
+ +
+ +
-
+
- - - - + + + +
- +
@@ -612,64 +612,65 @@ export default function NewMatchClient() {
-
-
+
+
-

+

{matchHeadingTitle}

-

+

{matchHeadingDescription}

-
+ +
{isLoading ? ( -
-
+
+
{/* Name line */} - + {/* Subtitle / Details lines */} -
+
{/* Button skeleton */} - +
) : ( -
+
{isError ? ( -

+

Unable to load match summary.

) : matchSummary ? ( <> -

+

{matchDisplay.name}

-
+
{matchDisplay.age ? ( ) : null} @@ -679,7 +680,7 @@ export default function NewMatchClient() { ) : null} {pairedEduFields.length ? ( -

+

{pairedEduFields.map((field, index) => ( {index > 0 ? ( @@ -719,21 +720,20 @@ export default function NewMatchClient() { openProfile(); } }} - className="mt-[15px] inline-flex w-full items-center justify-center rounded-[10px] border-none bg-white h-[40px] text-[16px] font-semibold text-[#F0445B] no-underline shadow-none hover:bg-white/95 transition-colors cursor-pointer" + className="mt-2 sm:mt-3 inline-flex w-full items-center justify-center rounded-[10px] border-none bg-white h-[38px] text-[15px] font-semibold text-[#F0445B] no-underline shadow-none hover:bg-white/95 transition-colors cursor-pointer" > {t["View more details"]} ) : ( -

+

No match summary is available yet.

)}
)} -
+
-
+

{title}

-

+

{description}

-
+
{isLoading ? /* ── Shimmer circles while API loads ── */