Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Authentication/Signup/signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down
4 changes: 2 additions & 2 deletions src/Authentication/components/loginbox.tsx
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down
8 changes: 4 additions & 4 deletions src/Authentication/otp/emailotpapp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(){
Expand All @@ -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);
Expand Down Expand Up @@ -77,7 +77,7 @@ const Otp = () => {
toast.error(err.response.data.email)
}
);}
// setLoading(false);

}

return <div>
Expand Down
1 change: 0 additions & 1 deletion src/MyAccount/Additional/Additional.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ const Additional = () => {
<p onClick={()=>{Navhandler("/account/additional"); } } style={activestyle} >Additional</p>
</div>
<div id="edit_profile" style={{height:'77.7778vh',display:'block'}}>
{/* <p><img className="backarr" src={arr} onClick={()=>Navhandler("/mobnav")} />About Me</p> */}
<div className="linkbox" onClick={()=>{Navhandler("/account/additional/score")}}>
Add test score
<div className="rightarrowbox">
Expand Down
1 change: 0 additions & 1 deletion src/MyAccount/Additional/courses.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ const Score = () => {


const time:any = new Date();
// console.log(time);
const Navhandler=useNavigate();
return (
<div>
Expand Down
1 change: 0 additions & 1 deletion src/MyAccount/Main/MainApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const plus: string = require("./images/plus.svg").default;
const arr: string = require("./images/arrow.svg").default;

const username = sessionStorage.getItem("username") || ""
// const viewusername = sessionStorage.getItem('viewusername')
var accesstoken=localStorage.getItem("accesstoken");
const config ={
headers:{
Expand Down
9 changes: 0 additions & 9 deletions src/spinner.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,6 @@
}
}
.loading-spinner {
/* position: absolute;
left: 50vw;
top:50vh; */
/* display: flex; */

/* left: 50%; */
/* top: 50vh; */
/* justify-content: center; */
/* align-items: center; */
position: relative;
top:50%;
left: 50%;
Expand Down