diff --git a/client/src/templates/Challenges/exam-download/show.tsx b/client/src/templates/Challenges/exam-download/show.tsx index 558388e08ab..5e90d129bdd 100644 --- a/client/src/templates/Challenges/exam-download/show.tsx +++ b/client/src/templates/Challenges/exam-download/show.tsx @@ -228,6 +228,9 @@ function ShowExamDownload({ }; }); + const showPrereqAlert = + isSignedIn && !examIdsQuery.isLoading && !getExamsQuery.isLoading; + return ( @@ -246,15 +249,16 @@ function ShowExamDownload({ {title} - {missingPrerequisites.length > 0 ? ( - - ) : ( - -

{t('learn.exam.qualified')}

-
- )} + {showPrereqAlert && + (missingPrerequisites.length > 0 ? ( + + ) : ( + +

{t('learn.exam.qualified')}

+
+ ))}

{t('exam.download-header')}

{t('exam.explanation')}