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

Function handleRemoveExistingMCQs

apps/web/components/admin/AdminAddMCQ.tsx:59–62  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

57 }
58
59 function handleRemoveExistingMCQs(id: string) {
60 deleteMCQ(id);
61 setExistingMCQs(ExistingMCQs.filter((mcq) => mcq.id !== id));
62 }
63
64 return (
65 <Sheet>

Callers 1

AdminAddMCQFunction · 0.85

Calls 1

deleteMCQFunction · 0.90

Tested by

no test coverage detected