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

Function handleResetScore

apps/web/components/mcq/MCQCard.tsx:32–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 }, [problem.id]);
31
32 const handleResetScore = () => {
33 setAtempted({});
34 setIsReset(!isReset);
35 setScore(0);
36 };
37
38 const handleSubmit = (score: number) => {
39 setIsSubmitted(!isSubmitted);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected