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

Function handleDiscardButton

apps/web/components/admin/ProblemCard.tsx:34–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 setIsEditing(true);
33 }
34 function handleDiscardButton() {
35 setTitle(problem.title);
36 setDescription(problem.description);
37 setType(problem.type);
38 setNotionDocId(problem.notionDocId);
39 setIsEditing(false);
40 }
41 return (
42 <Card key={problem.id}>
43 {!isEditing && (

Callers 1

ProblemCardFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected