Skip to content

Commit

Permalink
Merge pull request #34 from ScilifelabDataCentre/pre-dev
Browse files Browse the repository at this point in the history
Fixed public key in wrong place for recaptcha
  • Loading branch information
SevLG authored Mar 19, 2024
2 parents e576e13 + f31cb5d commit 3f2da9b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pmp-frontend-app/src/components/ContactFormComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,8 @@ export default function ContactFormComponent(): ReactElement {
{errors.message}
</p> }
</div>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<div className="g-recaptcha" data-sitekey="6Lcf2Z0pAAAAADHiZZR3snpGetHNmO0TLvdBgfEU"></div>
<ReCAPTCHA
sitekey="Your client site key"
sitekey="6Lcf2Z0pAAAAADHiZZR3snpGetHNmO0TLvdBgfEU"
onChange={onChangeRecaptcha}
/>
<div className="flex flex-col items-center">
Expand Down

0 comments on commit 3f2da9b

Please sign in to comment.