diff --git a/app/assets/javascripts/Components/ChallengeModal/ChallengeModal.tsx b/app/assets/javascripts/Components/ChallengeModal/ChallengeModal.tsx index bf8219fea96..bc71c5dc694 100644 --- a/app/assets/javascripts/Components/ChallengeModal/ChallengeModal.tsx +++ b/app/assets/javascripts/Components/ChallengeModal/ChallengeModal.tsx @@ -208,9 +208,11 @@ export const ChallengeModal: FunctionComponent = ({ )}
{challenge.heading}
-
{challenge.subheading}
+ {challenge.subheading && ( +
{challenge.subheading}
+ )}
{ e.preventDefault() submit().catch(console.error) @@ -230,7 +232,7 @@ export const ChallengeModal: FunctionComponent = ({