Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
UO277938 committed Apr 9, 2024
1 parent 36afaa5 commit e4418cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion questionservice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN npm install axios
RUN npm install

# Copy the app source code to the working directory
COPY . .
COPY . . /usr/src/questionservice/

# Define the command to run your app
CMD ["node", "server.js"]
7 changes: 1 addition & 6 deletions webapp/src/App.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
import React, { useState, useEffect } from 'react';
import { BrowserRouter as Router, Routes, Route, Navigate } from "react-router-dom";
import { useNavigate, BrowserRouter as Router, Routes, Route } from "react-router-dom";
import AddUser from './components/AddUser';
import Layout from './components/Pages/Layout';
import Home from './components/Pages/Home';
import Login from './components/Login';
import Juego from './components/Pages/Juego';
import Estadisticas from './components/Pages/Estadisticas';
import NotFound from './components/Pages/NotFound';
import { useNavigate } from 'react-router-dom';



function App() {
const [isLogged, setIsLogged] = useState(false);
Expand Down Expand Up @@ -40,7 +37,6 @@ function App() {
}

return (
<>
<Router>
<Layout isLogged={isLogged} setIsLogged={setIsLogged} />
<Routes>
Expand All @@ -59,7 +55,6 @@ function App() {

</Routes>
</Router>
</>
);
}

Expand Down

0 comments on commit e4418cb

Please sign in to comment.