diff --git a/src/auth/useRecaptcha.js b/src/auth/useRecaptcha.js index 41ae207a..450c3df8 100644 --- a/src/auth/useRecaptcha.js +++ b/src/auth/useRecaptcha.js @@ -100,7 +100,7 @@ export function useRecaptcha(sitekey) { }); } }); - }, [recaptchaId]); + }, [recaptchaId, sitekey]); const reset = useCallback(() => { if (window.grecaptcha) {