MCPcopy
hub / github.com/uselotus/lotus / save

Function save

frontend/src/components/Plans/UsageComponentForm.tsx:205–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203 return true;
204 };
205 const save = async () => {
206 try {
207 const values = await form.validateFields();
208 toggleEdit();
209 handleSave({ ...record, ...values });
210 } catch (errInfo) {
211 console.log("Save failed:", errInfo);
212 }
213 };
214
215 let childNode = children;
216

Callers

nothing calls this directly

Calls 2

toggleEditFunction · 0.85
handleSaveFunction · 0.85

Tested by

no test coverage detected