MCPcopy Create free account
hub / github.com/codemistic/Web-Development / submitNote

Function submitNote

Google Keep Clone/src/components/CreateArea.jsx:24–31  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

22 }
23
24 function submitNote(event) {
25 props.onAdd(note);
26 setNote({
27 title: "",
28 content: "",
29 });
30 event.preventDefault();
31 }
32
33 function expand() {
34 setExpanded(true);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected