From fcc8df031c968142287fcdbd4a11e88788d56a81 Mon Sep 17 00:00:00 2001 From: NishantGupt786 Date: Sat, 16 Mar 2024 01:34:58 +0530 Subject: [PATCH 1/2] add --- devsoc24-portal-fe/src/app/home/page.tsx | 25 ++++++++++++------- devsoc24-portal-fe/src/app/layout.tsx | 2 +- .../signup/details/personal-details-form.tsx | 2 +- 3 files changed, 18 insertions(+), 11 deletions(-) diff --git a/devsoc24-portal-fe/src/app/home/page.tsx b/devsoc24-portal-fe/src/app/home/page.tsx index 86b312d..8f4594f 100644 --- a/devsoc24-portal-fe/src/app/home/page.tsx +++ b/devsoc24-portal-fe/src/app/home/page.tsx @@ -265,16 +265,19 @@ export default function HomePage() { title
- titlesponsor + + titlesponsor + + {/* This bkl is causing Hydration Error */} @@ -329,8 +332,12 @@ export default function HomePage() { } cardDesc={ getIdea === "idea found" - ? isLeader ? "Edit or View Idea" : "View Idea" - : isLeader ? "Submit an Idea" : "View Idea" + ? isLeader + ? "Edit or View Idea" + : "View Idea" + : isLeader + ? "Submit an Idea" + : "View Idea" } buttonDetails={ getIdea === "idea found" && !team diff --git a/devsoc24-portal-fe/src/app/layout.tsx b/devsoc24-portal-fe/src/app/layout.tsx index 3c73aae..479a623 100644 --- a/devsoc24-portal-fe/src/app/layout.tsx +++ b/devsoc24-portal-fe/src/app/layout.tsx @@ -34,7 +34,7 @@ export default function RootLayout({ .catch((e) => { // console.log(e); }); - }, 270000); + }, 200000); return () => clearInterval(interval); }, []); diff --git a/devsoc24-portal-fe/src/app/signup/details/personal-details-form.tsx b/devsoc24-portal-fe/src/app/signup/details/personal-details-form.tsx index cba4564..14a0ded 100644 --- a/devsoc24-portal-fe/src/app/signup/details/personal-details-form.tsx +++ b/devsoc24-portal-fe/src/app/signup/details/personal-details-form.tsx @@ -175,7 +175,7 @@ export default function PersonalDetails({ autoComplete="phone" required {...field} - className={`pl-[80px] ${ + className={` ${ form.getFieldState("phone_number").invalid ? "border-red-500 focus:border-input focus:!ring-red-500" : "" From d7f99a08ada245c6e2da046394944d889b59555a Mon Sep 17 00:00:00 2001 From: NishantGupt786 Date: Sat, 16 Mar 2024 01:36:01 +0530 Subject: [PATCH 2/2] hello --- devsoc24-portal-fe/src/app/layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devsoc24-portal-fe/src/app/layout.tsx b/devsoc24-portal-fe/src/app/layout.tsx index 479a623..b4d4a4b 100644 --- a/devsoc24-portal-fe/src/app/layout.tsx +++ b/devsoc24-portal-fe/src/app/layout.tsx @@ -34,7 +34,7 @@ export default function RootLayout({ .catch((e) => { // console.log(e); }); - }, 200000); + }, 150000); return () => clearInterval(interval); }, []);