Skip to content

Commit

Permalink
Merge pull request #69 from Arquisoft/prueba
Browse files Browse the repository at this point in the history
eliminar warnings
  • Loading branch information
bidof authored Mar 11, 2024
2 parents 16a2d0a + 677b623 commit bbed747
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 bbed747

Please sign in to comment.