Skip to content

Commit

Permalink
Quitar dependencias y variables que no se usan con el fin de que no f…
Browse files Browse the repository at this point in the history
…alle el deploy 2
  • Loading branch information
baraganio committed Mar 27, 2024
1 parent 78ede82 commit 6d0c648
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions webapp/src/components/Game.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import React, { useState, useEffect } from 'react';
import axios from 'axios';
import { Container, Typography, Button, Paper} from '@mui/material';
Expand All @@ -15,7 +14,6 @@ const Game = () => {
const [correctOption, setCorrectOption] = useState('');
const [answerOptions, setAnswerOptions] = useState([]);
const [correctCounter, setCorrectCounter] = useState(0);
const [numberOfOptions, setNumberOfOptions] = useState();

const [questionCounter, setQuestionCounter] = useState(0);
const [incorrectCounter, setIncorrectCounter] = useState(0);
Expand All @@ -27,7 +25,7 @@ const Game = () => {

useEffect(() => {
handleShowQuestion();
}, []);
});


useEffect(() => {
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/HistoricalData.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import axios from 'axios';
import React, { useState} from 'react';
import { useNavigate} from 'react-router-dom';
import { Container, Typography, Button} from '@mui/material';
import { Container, Button} from '@mui/material';

const HistoricalData = () => {
const navigate = useNavigate();
Expand Down

0 comments on commit 6d0c648

Please sign in to comment.