MCPcopy Create free account
hub / github.com/Fibi66/FeiControl / handleSave

Function handleSave

src/components/MarkdownEditor.tsx:48–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 };
47
48 const handleSave = async () => {
49 if (!hasUnsavedChanges || isSaving) return;
50 setIsSaving(true);
51 try {
52 await onSave();
53 } finally {
54 setIsSaving(false);
55 }
56 };
57
58 return (
59 <div className="h-full flex flex-col">

Callers 1

handleKeyDownFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected