From cc31688ded7c3c8cf36487d208d17895e78e1de5 Mon Sep 17 00:00:00 2001 From: mortezaei Date: Thu, 20 Aug 2026 19:24:40 +0330 Subject: [PATCH] fix input autofill code --- src/app/new-match/new-match-client.tsx | 115 +++++++++++++------------ 1 file changed, 58 insertions(+), 57 deletions(-) diff --git a/src/app/new-match/new-match-client.tsx b/src/app/new-match/new-match-client.tsx index 1b5d835..624c821 100644 --- a/src/app/new-match/new-match-client.tsx +++ b/src/app/new-match/new-match-client.tsx @@ -531,53 +531,51 @@ export default function NewMatchClient() { -
- {/* Header Section Skeleton */} -
+
+ {/* 1. Header Section Skeleton */} +
-
- {/* Match Card Skeleton */} -
- {/* Name line */} - + {/* 2. Match Card Skeleton */} +
+ {/* Name line */} + - {/* Subtitle / Details lines */} -
- - -
- - {/* Button skeleton */} - -
+ {/* Subtitle / Details lines */} +
+ + +
- {/* Advisor Card Skeleton */} -
-
- -
- - -
+ {/* Button skeleton */} + +
-
-
- - - - -
+ {/* 3. Advisor Card Skeleton */} +
+
+ +
+ + +
- +
+
+ + + +
+ +
-
-
+
+
@@ -628,8 +626,9 @@ export default function NewMatchClient() { -
-
+
+ {/* 1. Header Section */} +
-
+ {/* 2. Match Summary Card Section */} +
{isLoading ? ( -
+
{/* Name line */} @@ -663,11 +663,11 @@ export default function NewMatchClient() {
{/* Button skeleton */} - +
) : ( -
+
{isError ? (

Unable to load match summary. @@ -736,7 +736,7 @@ export default function NewMatchClient() { openProfile(); } }} - className="mt-3 sm:mt-3.5 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-3 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" > {t["View more details"]} @@ -748,21 +748,22 @@ export default function NewMatchClient() { )}

)} -
- -
+
+ + {/* 3. Advisor Section */} +
+