master
Robert Burgess 2024-08-17 17:07:30 -04:00
parent f70fa05f05
commit 84e70afd4c
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ import React, { useRef, useState } from "react"
import ReCAPTCHA from "react-google-recaptcha"; import ReCAPTCHA from "react-google-recaptcha";
import { toast } from "react-hot-toast"; import { toast } from "react-hot-toast";
const { RECAPTCHA_SITE_KEY } = process.env; const { RECAPTCHA_SITE_KEY } = process.env;
console.log( RECAPTCHA_SITE_KEY) console.log( RECAPTCHA_SITE_KEY )
export default function ContactUsContent() { export default function ContactUsContent() {
const recaptchaRef = useRef(null); const recaptchaRef = useRef(null);
@ -99,7 +99,7 @@ export default function ContactUsContent() {
</div> </div>
</div> </div>
<div className="mt-6"> <div className="mt-6">
<ReCAPTCHA ref={recaptchaRef} size="invisible" sitekey={RECAPTCHA_SITE_KEY} onChange={onReCAPTCHAChange} /> <ReCAPTCHA ref={recaptchaRef} size="invisible" sitekey={`${RECAPTCHA_SITE_KEY}`} onChange={onReCAPTCHAChange} />
</div> </div>
<div className="mt-6"> <div className="mt-6">
<button <button

View File

@ -1,6 +1,6 @@
{ {
"name": "SimplySyncedLLC_Website", "name": "SimplySyncedLLC_Website",
"version": "1.1.0", "version": "1.2.0",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",