Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed public key in wrong place for recaptcha #34

Merged
merged 1 commit into from
Mar 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading