MCPcopy Create free account
hub / github.com/SensAI-PT/RAGMeUp / handleDiscard

Function handleDiscard

ui/node-react/client/src/components/ConfigPage.js:196–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

194 };
195
196 const handleDiscard = () => {
197 setEditedKeys({});
198 setAddedKeys([]);
199 setNewVarKey('');
200 setNewVarValue('');
201 setMessage(null);
202 };
203
204 const handleAddVariable = () => {
205 const key = newVarKey.trim();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected