Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/code100x/daily-code
/ handleDiscardButton
Function
handleDiscardButton
apps/web/components/EditProblem.tsx:17–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
15
setIsEditing(true);
16
}
17
function handleDiscardButton() {
18
setId(problem.id);
19
setTitle(problem.title);
20
setNotionDocId(problem.notionDocId);
21
setIsEditing(false);
22
}
23
return (
24
<Card key={problem.id}>
25
{!isEditing && (
Callers
1
EditProblem
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected