resolve variables
parent
f1eb9d827b
commit
17789af363
Binary file not shown.
|
@ -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
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
output: 'standalone'
|
||||
|
||||
}
|
||||
|
||||
module.exports = nextConfig
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue