We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c2e195 commit a832523Copy full SHA for a832523
src/context/QuizContextProvider.jsx
@@ -4,7 +4,7 @@ import { questions } from '../data/questions';
4
import confetti from 'canvas-confetti';
5
6
export const QuizContextProvider = ({ children }) => {
7
- const [currentQuestion, setCurrentQuestion] = useState(24);
+ const [currentQuestion, setCurrentQuestion] = useState(0);
8
const [selectedOption, setSelectedOption] = useState(null);
9
const [score, setScore] = useState(0);
10
const [completed, setCompleted] = useState(false);
0 commit comments