Skip to content

Commit

Permalink
Fixed sonnarcloud and problem with e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
alegarman2002 committed May 3, 2024
1 parent 69d9a8c commit 35953ac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion webapp/src/components/FirstGame.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
6 changes: 3 additions & 3 deletions webapp/src/components/game/Calculator.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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);

Expand Down
1 change: 0 additions & 1 deletion webapp/src/components/spinner/Spinner.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
display: inline-block;
width: 50px;
height: 100%;
background-color: transparent;
border: none;
color: white;
font-size: 20px;
Expand Down

0 comments on commit 35953ac

Please sign in to comment.