From cd09796967891a7cf2f60bea4e30b65d061f48c2 Mon Sep 17 00:00:00 2001 From: Pudi-Sravan Date: Mon, 1 Jul 2024 23:36:24 +0530 Subject: [PATCH] Made Responsive --- src/Front_end/Authentication/loginpage/loginbox.jsx | 1 - src/Front_end/Authentication/register/register.jsx | 1 - src/Front_end/homepage/homepage.jsx | 1 - 3 files changed, 3 deletions(-) diff --git a/src/Front_end/Authentication/loginpage/loginbox.jsx b/src/Front_end/Authentication/loginpage/loginbox.jsx index 3d4cb31..766e455 100644 --- a/src/Front_end/Authentication/loginpage/loginbox.jsx +++ b/src/Front_end/Authentication/loginpage/loginbox.jsx @@ -53,7 +53,6 @@ function Login({ settoken, setUpdload }) { }); if (data) { if (data.user != null && data.session != null) { - alert("Successful log in redirecting to Homepage"); navigate("/"); settoken(data); } else if (data.user == null && data.session == null) { diff --git a/src/Front_end/Authentication/register/register.jsx b/src/Front_end/Authentication/register/register.jsx index 987be2c..79c229c 100644 --- a/src/Front_end/Authentication/register/register.jsx +++ b/src/Front_end/Authentication/register/register.jsx @@ -137,7 +137,6 @@ function Register({ settoken }) { if (data) { console.log(data); if (data.user != null && data.session != null) { - alert("Sign up successful"); settoken(data); navigate("/"); } else if (data.user == null && data.session == null) { diff --git a/src/Front_end/homepage/homepage.jsx b/src/Front_end/homepage/homepage.jsx index 0a126a7..a2bb9f6 100644 --- a/src/Front_end/homepage/homepage.jsx +++ b/src/Front_end/homepage/homepage.jsx @@ -163,7 +163,6 @@ function Home(data) { // localStorage.removeItem("token"); localStorage.removeItem("mailcheck"); window.location.reload(); - alert("successfully logged out"); } } catch (error) { console.log(error);