Sitekey change should update execute method

This commit is contained in:
Robert Long 2022-01-18 11:49:59 -08:00
parent 36d59c98c0
commit 8df13ee7c8

View file

@ -100,7 +100,7 @@ export function useRecaptcha(sitekey) {
});
}
});
}, [recaptchaId]);
}, [recaptchaId, sitekey]);
const reset = useCallback(() => {
if (window.grecaptcha) {