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 23e5768 commit 1def5e0Copy full SHA for 1def5e0
src/components/Home.tsx
@@ -1,6 +1,5 @@
1
import { useState, useEffect } from "react";
2
import { Box } from "@mui/material";
3
-import { useData } from "../data/data.context";
4
5
export default function Home() {
6
// Sample data for practice questions (you can replace this with actual data)
@@ -9,8 +8,6 @@ export default function Home() {
9
8
{ difficulty: "Medium", count: 20 },
10
{ difficulty: "Hard", count: 15 },
11
];
12
- const { getQuestions } = useData();
13
-
14
// State to hold the practice questions data
15
const [questionsData, setQuestionsData] = useState(practiceQuestions);
16
0 commit comments