diff --git a/src/components/Answer/Answer.js b/src/components/Answer/Answer.js index 228036c..beacbe3 100644 --- a/src/components/Answer/Answer.js +++ b/src/components/Answer/Answer.js @@ -1,5 +1,3 @@ -import Question from '../../model/Question'; - export default class Answer { constructor(timeOfAnswer, Question, answer, lifelineUsed) { this.timeOfAnswer = timeOfAnswer; diff --git a/src/model/question.js b/src/model/Question.js similarity index 100% rename from src/model/question.js rename to src/model/Question.js diff --git a/src/views/QuizView/quizView.js b/src/views/QuizView/quizView.js index 6dc32f4..8a43b5a 100644 --- a/src/views/QuizView/quizView.js +++ b/src/views/QuizView/quizView.js @@ -3,7 +3,6 @@ import { createTimer, startTimer, stopTimer } from '../../components/timer/quiz- import { getRandomQuizQuestions } from '../../model/randomizer.js'; import Button from '../../components/Button/Button'; import Answer from '../../components/Answer/Answer'; -import Question from '../../model/question'; let questions; let current;