Skip to content

Commit

Permalink
Made Responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
Pudi-Sravan committed Jul 1, 2024
1 parent 8e092a5 commit cd09796
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Front_end/Authentication/loginpage/loginbox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 0 additions & 1 deletion src/Front_end/Authentication/register/register.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 0 additions & 1 deletion src/Front_end/homepage/homepage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cd09796

Please sign in to comment.