dozoisch / dozoisch/react-google-recaptcha
Recaptcha disappears after going back from one page - to login page
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
i have a strange issue with recaptcha. i see it when i am in login page but when i go to another page as forget password and then go back to login, the component recaptcha is not anymore
```
useEffect(() => {
const script = document.createElement("script")
script.src = "https://www.google.com/recaptcha/api.js"
script.async = true
script.defer = true
document.body.appendChild(script)
}, [])
const changedRecaptcha = () => {
const recaptchaValue = recaptchaRef?.current?.getValue()
}
const reset = () => {
recaptchaRef?.current?.reset()
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.