resolve variables

master
Robert Burgess 2024-08-18 01:51:10 -04:00
parent f1eb9d827b
commit 17789af363
4 changed files with 7 additions and 5 deletions

Binary file not shown.

View File

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

View File

@ -1,6 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone'
}
module.exports = nextConfig

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "SimplySyncedLLC_Website",
"version": "1.1.0",
"version": "1.2.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "SimplySyncedLLC_Website",
"version": "1.1.0",
"version": "1.2.0",
"dependencies": {
"@headlessui/react": "^1.7.14",
"@sendgrid/mail": "^8.1.3",