Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/code100x/daily-code
/ handleSubmit
Function
handleSubmit
apps/web/components/admin/AdminAddMCQ.tsx:52–57 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
50
}
51
52
function handleSubmit() {
53
mcqs.map(async (mcq) => {
54
await createMCQ(mcq);
55
});
56
setMcqs([]);
57
}
58
59
function handleRemoveExistingMCQs(id: string) {
60
deleteMCQ(id);
Callers
1
AdminAddMCQ
Function · 0.70
Calls
1
createMCQ
Function · 0.90
Tested by
no test coverage detected