Skip to content

Commit

Permalink
GH-41 added netlify recaptcha to submission form
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Mar 15, 2020
1 parent c6f2a60 commit a78f868
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/forms/NewsletterSubscribe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ export default function NewsletterSubcribe({
onInput={onInputInput}
/>

{/* Recaptha (automatically added by Netlify at build time) */}
<div data-netlify-recaptcha="true"></div>

{/* Submit button */}
<button
className={`ao-form__submit p-2 flex-shrink-0 ${VARIANT_CLASSNAMES[variant].submit}`}
Expand Down

0 comments on commit a78f868

Please sign in to comment.