Skip to content

Commit

Permalink
arreglados warnings que e2e los trataba como errores
Browse files Browse the repository at this point in the history
  • Loading branch information
Santiago21112001 committed Mar 10, 2024
1 parent 6908000 commit 08ac39d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webapp/src/components/login/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const Login = () => {
localStorage.setItem('username', username);

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


const loginUser = async () => {
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/startbutton/StartButton.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useContext } from 'react';
import { Link, useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router-dom';
import { AuthContext } from '../authcontext'; // Cambia AuthProvider a AuthContext
import './startButton.css'
const StartButton = () => {
Expand Down

0 comments on commit 08ac39d

Please sign in to comment.