This commit is contained in:
		| @@ -3,6 +3,10 @@ | ||||
| import ContactComponent from "./ContactComponent"; | ||||
|  | ||||
| export default async function ContactPage() { | ||||
|   const recaptchaSiteKey = process.env["RECAPTCHA_SITE_KEY"]; | ||||
|   const recaptchaSiteKey = await getSiteKey(); | ||||
|   return <ContactComponent recaptchaSiteKey={recaptchaSiteKey} />; | ||||
| } | ||||
|  | ||||
| async function getSiteKey() { | ||||
|   return process.env.RECAPTCHA_SITE_KEY; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user