Skip to content

Commit

Permalink
Fix reCAPTCHA site key environment variable prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
gabros20 committed Jan 29, 2025
1 parent a0e5813 commit 9f61829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Newsletter/Newsletter.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const Newsletter = () => {
const [isFocused, setIsFocused] = useState(false);
const reCaptchaRef = useRef(null);

const siteKey = process.env.RECAPTCHA_SITE_KEY;
const siteKey = process.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY;

const handleChange = (e) => {
setEmail(e.target.value);
Expand Down

0 comments on commit 9f61829

Please sign in to comment.