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