MCPcopy Create free account
hub / github.com/code100x/daily-code / fetchMCQs

Function fetchMCQs

apps/web/components/admin/AdminAddMCQ.tsx:21–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20 useEffect(() => {
21 async function fetchMCQs() {
22 const mcqs = await getAllMCQQuestion(problem.id);
23 setExistingMCQs(mcqs);
24 }
25 fetchMCQs();
26 }, [mcqs, isUpdate]);
27

Callers 1

AdminAddMCQFunction · 0.70

Calls 1

getAllMCQQuestionFunction · 0.90

Tested by

no test coverage detected