Skip to content

Commit

Permalink
Eliminated console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
alegarman2002 committed May 3, 2024
1 parent cb52c8e commit 69d9a8c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion webapp/src/components/FirstGame.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const Quiz = () => {
let username = localStorage.getItem("username")
const navigator = useNavigate();
let allQuestions = useLocation().state.questions;
console.log(allQuestions)
let haveEnter = false;
let id = useLocation().state.gameId;

Expand Down
3 changes: 1 addition & 2 deletions webapp/src/components/game/Calculator.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ const Calculator = () => {
const time = setInterval(() => {
setRemTime((progress) => {
if(progress === 100){
console.log("Imprimimos id", id)
console.log("Answered questions", answeredQuestions)

let avgtime = 80/questions.length
if (answeredQuestions.length !== 0) {
gameStore(id, username, points, answeredQuestions, avgtime);
Expand Down

0 comments on commit 69d9a8c

Please sign in to comment.