react-google-recaptcha-v3
react-google-recaptcha-v3 copied to clipboard
Uncaught Error: Missing required parameters: sitekey
I'm receiving the error Uncaught Error: Missing required parameters: sitekey
when I back a history in browser.
How can I solve it?
We too are facing this issue when used with NextJS 11 based service
Any progress on this?
Seeing this as well in Next 13
I have a same problem...
I already solved the problem...
@abraira85 could you please elaborate on how you have fixed the problem? I would like to know it as well.
Hi! there is a fix for this issue?
Hope this helps. locate and remove this loaded recaptcha script while unloading wrapping component GoogleReCaptchaProvider. Like this:
const scriptSelector = 'script[src=\'https://www.google.com/recaptcha/api.js?render=' + recaptchaSiteKey + '\']';
const script = document.querySelector(scriptSelector);
if (script) {
script.remove();
}
Any solution? Considering disabling recaptcha all-together, but that doesn't sound like a good solution haha 😃
Try this Without any third party component. I did it, not exactly as described, but similar. Everything is just fine.