diff --git a/app/routes/captcha.tsx b/app/routes/captcha.tsx index a9fb82a..f4e3a35 100644 --- a/app/routes/captcha.tsx +++ b/app/routes/captcha.tsx @@ -1,9 +1,38 @@ +import { useLoaderData } from "@remix-run/react"; + +export async function loader({ + context, +}: { + context: RequestContext; +}): Promise { + return context.env.TURNSTILE_SITEKEY; +} + export default function () { return ( - + <> +
()} + >
+ + + ); }