skip to Main Content

Firebase OTP Authentication error in reCaptcha

import React, { useState, useRef } from "react"; import firebase from "../firebase"; const Auth = () => { const [phoneNumber,setPhoneNumber] = useState(''); const [verificationID, setVerificationID] = useState(''); const recaptchaRef = useRef(null); const handleSendOtp = ()=>{ if(recaptchaRef.current){ recaptchaRef.current.innerHTML = `<div id="recaptcha-container"></div>`…

VIEW QUESTION
Back To Top
Search