I have react web app where I want to implement phone auth. I have initialized recaptchaVerifier based on docs and examples. However if I want to submit the form again (say
I have got the same issue with React. but there is a problem of Ref. so I have created a new instance using Id of a parent div element
this.recaptchaWrapperRef = ref}>
In the submit callback add this.
document.getElementById("recaptcha-container").innerHTML = "";