Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quitar dependencias y variables inutiles #83

Merged
merged 1 commit into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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