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

Function fetchSubmission

apps/web/components/mcq/SubmissionMCQ.tsx:14–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13 useEffect(() => {
14 async function fetchSubmission() {
15 const data = await getQuizScore({
16 userId,
17 problemId: problem.id,
18 });
19 setScoreData(data);
20 }
21 fetchSubmission();
22 }, []);
23

Callers 1

SubmissionMCQFunction · 0.85

Calls 1

getQuizScoreFunction · 0.90

Tested by

no test coverage detected