diff --git a/src/auth/useRecaptcha.js b/src/auth/useRecaptcha.js index 41ae207..450c3df 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) {