From 044ec8d9669f0041e002dc1e635bd5a441648b8e Mon Sep 17 00:00:00 2001 From: Carlos-Mesquita Date: Tue, 1 Oct 2024 15:34:56 +0100 Subject: [PATCH] Added back the demographic view --- src/pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 6a4f9ca4..ef4f7bd9 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -79,7 +79,7 @@ export default function Home({user: propsUser, linkedCorporate}: Props) { useEffect(() => { if (user) { - // setShowDemographicInput(!user.demographicInformation || !user.demographicInformation.country || !user.demographicInformation.phone); + setShowDemographicInput(!user.demographicInformation || !user.demographicInformation.country || !user.demographicInformation.phone); setShowDiagnostics(user.isFirstLogin && user.type === "student"); } }, [user]);