Skip to content

Commit

Permalink
arreglar errores de importacion
Browse files Browse the repository at this point in the history
  • Loading branch information
bidof committed Mar 8, 2024
1 parent 3a6ff54 commit e9ea90b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions webapp/src/App.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import React, { useState } from 'react';
import AddUser from './components/adduser/AddUser';
import Login from './components/login/Login';
import CssBaseline from '@mui/material/CssBaseline';
import Container from '@mui/material/Container';
import Typography from '@mui/material/Typography';
import Link from '@mui/material/Link';
import Game from './components/game/Game';
import progressBar from './components/game/progressBar';
function App() {
const [showLogin, setShowLogin] = useState(true);

Expand Down
4 changes: 2 additions & 2 deletions webapp/src/components/login/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import React, { useContext, useState ,useEffect} from 'react';
import axios from 'axios';
import { Container, Typography, TextField, Button, Snackbar } from '@mui/material';
import Game from './game/Game.js';
import { AuthContext } from './authcontext';
import Game from '../game/Game';
import { AuthContext } from '../authcontext';
const Login = () => {
//hacer que el navbar guarde el contexo de si estas loggeado o no
//ademas metes en localStorage que es como una cookie , el usuario para poder sacar sus datos en historial etc
Expand Down

0 comments on commit e9ea90b

Please sign in to comment.