Fix captcha not showing on create account page

This commit is contained in:
Jai A
2024-11-18 16:29:55 -08:00
parent 3b0e59c8ab
commit 8cd77ad1d8

View File

@@ -12,6 +12,9 @@ function hCaptchaReady() {
} }
onMounted(() => { onMounted(() => {
if (window.hcaptcha) {
hCaptchaReady();
} else {
window.hCaptchaReady = hCaptchaReady; window.hCaptchaReady = hCaptchaReady;
useHead({ useHead({
@@ -23,6 +26,7 @@ onMounted(() => {
}, },
], ],
}); });
}
}); });
defineExpose({ defineExpose({