dozoisch / dozoisch/react-google-recaptcha

recaptchaRef.current is null

Open
#281 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.1k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

When in want to force the recaptcha to reload via the ref object, i get an error saying `recaptchaRef.current is null`.
I use this ref in `console.log()` before sending request (i us Formik for my form) and the object is currect, but after sending request and getting network error (maybe with re-rendering the component) i can't access `recaptchaRef.current`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.