Skip to content

Commit

Permalink
Merge pull request #83 from Arquisoft/carlos
Browse files Browse the repository at this point in the history
Quitar dependencias y variables inutiles
  • Loading branch information
baraganio authored Mar 27, 2024
2 parents 18dd79f + 6d0c648 commit 212ad7c
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 212ad7c

Please sign in to comment.