You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<Buttoncolor='success'sx={{width: 'fit-content'}}onClick={()=>navigate(Paths.QuestionBank)}>Access the Question Bank</Button>
531
-
{auth&&auth.currentUser&&<Typography>You're currently signed in as {auth.currentUser.email}. <LinkonClick={()=>auth.signOut()}>Sign Out</Link>.</Typography>}
530
+
<Buttoncolor='success'sx={{width: 'fit-content'}}onClick={()=>navigate(auth.currentUser ? Paths.QuestionBank : Paths.SignUp)}>{auth.currentUser ? 'Access' : 'Sign up to'} the Question Bank</Button>
0 commit comments