Sitekey change should update execute method
This commit is contained in:
parent
36d59c98c0
commit
8df13ee7c8
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ export function useRecaptcha(sitekey) {
|
|||
});
|
||||
}
|
||||
});
|
||||
}, [recaptchaId]);
|
||||
}, [recaptchaId, sitekey]);
|
||||
|
||||
const reset = useCallback(() => {
|
||||
if (window.grecaptcha) {
|
||||
|
|
Loading…
Reference in a new issue