Skip to content

Commit

Permalink
Code scanning - DOM text reinterpreted as HTML #1427
Browse files Browse the repository at this point in the history
link fix
  • Loading branch information
kkrug committed Sep 17, 2024
1 parent 45b05f0 commit 423b192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/client/src/components/ChallengeDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const ChallengeDetails = ({challenge, challengePhases, preview, print, ta
<div className="follow-tooltip__section">
<h4>Follow challenge as guest</h4>
<p>Receive challenge updates to your email. No sign-in required</p>
<a href={preview ? "#" : `${apiUrl}/challenges/${encodeURIComponent(challenge.id)}/save_challenge/new`}>
<a href={preview ? "#" : `${encodeURIComponent(challenge.gov_delivery_topic_subscribe_link)}`}>
<button className="follow-tooltip__button">Follow challenge</button>
</a>
</div>
Expand Down

0 comments on commit 423b192

Please sign in to comment.