diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 0e19d918..79322a97 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -67,7 +67,12 @@ export default function Home({envVariables}: {envVariables: {[key: string]: stri useEffect(() => { if (user) { - setShowDemographicInput(!user.demographicInformation); + setShowDemographicInput( + !user.demographicInformation || + !user.demographicInformation.country || + !user.demographicInformation.gender || + !user.demographicInformation.phone, + ); setShowDiagnostics(user.isFirstLogin && user.type === "student"); } }, [user]);