diff --git a/src/Authentication/Signup/signup.tsx b/src/Authentication/Signup/signup.tsx index 3f6dd53..51dd79a 100644 --- a/src/Authentication/Signup/signup.tsx +++ b/src/Authentication/Signup/signup.tsx @@ -13,7 +13,7 @@ const Phone = () => { const [number, setnumber] = useState(""); const [loading,setLoading]=useState(false); const email =localStorage.getItem("email") - // const context =localStorage.getItem("context") + function handlenumber(e: any) { if(e.target.value>=1000000000 && e.target.value<10000000000){ diff --git a/src/Authentication/components/loginbox.tsx b/src/Authentication/components/loginbox.tsx index 317a2be..18f0e17 100644 --- a/src/Authentication/components/loginbox.tsx +++ b/src/Authentication/components/loginbox.tsx @@ -1,7 +1,7 @@ import React from "react"; -// import * as google from 'googleapis'; + const illustration: string = require("../images/google.svg").default; -// const {google} = require('googleapis'); + type insprop = { diff --git a/src/Authentication/otp/emailotpapp.tsx b/src/Authentication/otp/emailotpapp.tsx index 183b4b6..9d02791 100644 --- a/src/Authentication/otp/emailotpapp.tsx +++ b/src/Authentication/otp/emailotpapp.tsx @@ -19,11 +19,11 @@ const Otp = () => { const [loading,setLoading]=useState(false); useEffect(()=>{ - // const timer:any= + seconds >0 && setTimeout(()=>{ setSeconds(seconds-1); },1000) - // return ()=> clearInterval(timer) + },[seconds]) function ResendApi(){ @@ -36,7 +36,7 @@ const Otp = () => { }).then((res) => { console.log(res); console.log(res.status); - // localStorage.setItem("accesstoken" , res.data.tokens.access); + }) .catch((err) => { console.log(err); @@ -77,7 +77,7 @@ const Otp = () => { toast.error(err.response.data.email) } );} - // setLoading(false); + } return
{Navhandler("/account/additional"); } } style={activestyle} >Additional
Navhandler("/mobnav")} />About Me