Skip to content

Commit

Permalink
Minor edition
Browse files Browse the repository at this point in the history
  • Loading branch information
UO287741 committed Mar 10, 2024
1 parent 112c541 commit 8723c80
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions webapp/src/components/Game.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,18 @@
import { Button } from '@mui/material';
import axios from 'axios';
import { useState,useEffect, ReactNode } from 'react';

// Función para crear un juego


import { Question4Answers } from '/../../game/qgservice/Question4Answers.js';


// Función para crear un juego


const Game = () => {

const user = 'user';

const [questions, setQuestions] = useState([]);
const [currentQuestion, setCurrentQuestion] = useState<undefined>(undefined);
const [questions, setQuestions] = useState<Question4Answers[]>([]);
const [currentQuestion, setCurrentQuestion] = useState();
const [elements, setElements] = useState<ReactNode[]>([]);
const[isGameStarted, setIsGameStarted] = useState(false);

Expand Down Expand Up @@ -103,10 +101,6 @@ const Game = () => {
}






return (
<div>
<h1>Game</h1>
Expand Down

0 comments on commit 8723c80

Please sign in to comment.