We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a162e69 commit 4afdab3Copy full SHA for 4afdab3
app/exam/page.tsx
@@ -39,7 +39,7 @@ const Exam: NextPage<{ searchParams: { url: string; name: string } }> = ({
39
useTimer({ minutes: minutes, seconds: seconds });
40
const [currentQuestion, setCurrentQuestion] = useState<Question>();
41
const [revealExam, setRevealExam] = useState<boolean>(false);
42
- const [currentQuestionIndex, setCurrentQuestionIndex] = useState<number>(0);
+ const [currentQuestionIndex, setCurrentQuestionIndex] = useState<number>(1);
43
const [countAnswered, setCountAnswered] = useState<number>(0);
44
const { data, loading, error } = useQuery(questionsQuery, {
45
variables: { range: 30, link: url },
0 commit comments