Sitekey change should update execute method
This commit is contained in:
@@ -100,7 +100,7 @@ export function useRecaptcha(sitekey) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}, [recaptchaId]);
|
}, [recaptchaId, sitekey]);
|
||||||
|
|
||||||
const reset = useCallback(() => {
|
const reset = useCallback(() => {
|
||||||
if (window.grecaptcha) {
|
if (window.grecaptcha) {
|
||||||
|
|||||||
Reference in New Issue
Block a user