diff --git a/webapp/src/components/FirstGame.js b/webapp/src/components/FirstGame.js index 24adabe4..32b04ffd 100644 --- a/webapp/src/components/FirstGame.js +++ b/webapp/src/components/FirstGame.js @@ -23,7 +23,7 @@ const Quiz = () => { let haveEnter = false; let id = useLocation().state.gameId; - const [questions, setQuestion] = useState([]); + const [questions] = useState([]); const [currentQuestionIndex, setCurrentQuestionIndex] = useState(0); const [remTime, setRemTime] = useState(0); const [totalTime, setTotalTime] = useState(0); diff --git a/webapp/src/components/game/Calculator.js b/webapp/src/components/game/Calculator.js index b5d38f34..8c6afbb0 100644 --- a/webapp/src/components/game/Calculator.js +++ b/webapp/src/components/game/Calculator.js @@ -1,5 +1,5 @@ import React, { useEffect, useState } from 'react'; -import { shuffleArray, secureRandomNumber, generateGameId, esperar, gameStore} from '../Util'; +import { shuffleArray, secureRandomNumber, esperar, gameStore} from '../Util'; import { Container, Typography, Box, LinearProgress } from '@mui/material'; import { Footer } from '../footer/Footer'; import { Nav } from '../nav/Nav'; @@ -29,8 +29,8 @@ const Calculator = () => { } const navigator = useNavigate(); - const [questions, setQuestions] = useState([]) - const [answeredQuestions, setAnsweredQuestions] = useState([]) + const [questions] = useState([]) + const [answeredQuestions] = useState([]) const [points, setPoints] = useState(0) const [remTime, setRemTime] = useState(0); diff --git a/webapp/src/components/spinner/Spinner.css b/webapp/src/components/spinner/Spinner.css index 65e20098..32616d22 100644 --- a/webapp/src/components/spinner/Spinner.css +++ b/webapp/src/components/spinner/Spinner.css @@ -28,7 +28,6 @@ display: inline-block; width: 50px; height: 100%; - background-color: transparent; border: none; color: white; font-size: 20px;