Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZenNotes/zennotes
/ cancelDraft
Function
cancelDraft
packages/app-core/src/components/CommentsPanel.tsx:143–146 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
141
}
142
143
const cancelDraft = (): void => {
144
setBody(
''
)
145
onClearDraft()
146
}
147
148
const submit = async (): Promise<void> => {
149
if (!draft) return
Callers
1
CommentsPanel
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected