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

Function handleRemoveOption

apps/web/components/admin/AdminAddMCQ.tsx:32–34  ·  view source on GitHub ↗
(option: string)

Source from the content-addressed store, hash-verified

30 setoption("");
31 }
32 function handleRemoveOption(option: string) {
33 setOptions(options.filter((o) => o !== option));
34 }
35 function handleAddMCQ() {
36 const data = {
37 question: question,

Callers 1

AdminAddMCQFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected