Skip to content

Commit

Permalink
eliminar warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bidof committed Mar 11, 2024
1 parent 0b39409 commit 677b623
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 5 deletions.
41 changes: 40 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions webapp/src/components/home/Home.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import React from 'react';
import Navbar from '../navbar/NavBar';
import StartButton from '../startbutton/StartButton';
import Typography from '@mui/material/Typography';
import Footer from '../footer/Footer';

const Home = () => {
return (
<div>
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/login/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const Login = () => {
console.log(loginSuccess); // Log the value of isLoggedIn after login

}
}, [loginSuccess,username, handleLogin]); // Este efecto se ejecutará cada vez que loginSuccess cambie
}, [loginSuccess,username, handleLogin,navigate]); // Este efecto se ejecutará cada vez que loginSuccess cambie


const loginUser = async () => {
Expand Down

0 comments on commit 677b623

Please sign in to comment.