diff --git a/src/lib/ReCaptcha.client.tsx b/src/lib/ReCaptcha.client.tsx index 27f58f4..cbbf538 100644 --- a/src/lib/ReCaptcha.client.tsx +++ b/src/lib/ReCaptcha.client.tsx @@ -1,10 +1,8 @@ import { GoogleReCaptchaProvider } from "react-google-recaptcha-v3"; import type { ReactNode } from "react"; +const env: Record = typeof Oxygen !== "undefined" && "env" in Oxygen ? Oxygen.env : import.meta.env; + export function ReCaptcha({ children }: { children: ReactNode }) { - return ( - - {children} - - ); + return {children}; }