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

Function handleRemoveMCQ

apps/web/components/admin/AdminAddMCQ.tsx:48–50  ·  view source on GitHub ↗
(question: string)

Source from the content-addressed store, hash-verified

46 setCorrectOption("");
47 }
48 function handleRemoveMCQ(question: string) {
49 setMcqs(mcqs.filter((mcq) => mcq.question !== question));
50 }
51
52 function handleSubmit() {
53 mcqs.map(async (mcq) => {

Callers 1

AdminAddMCQFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected