diff --git a/app/exam/page.tsx b/app/exam/page.tsx index f7c6b91..bf9fa31 100644 --- a/app/exam/page.tsx +++ b/app/exam/page.tsx @@ -39,7 +39,7 @@ const Exam: NextPage<{ searchParams: { url: string; name: string } }> = ({ useTimer({ minutes: minutes, seconds: seconds }); const [currentQuestion, setCurrentQuestion] = useState(); const [revealExam, setRevealExam] = useState(false); - const [currentQuestionIndex, setCurrentQuestionIndex] = useState(1); + const [currentQuestionIndex, setCurrentQuestionIndex] = useState(0); const [countAnswered, setCountAnswered] = useState(0); const { data, loading, error } = useQuery(questionsQuery, { variables: { range: 30, link: url },