MCPcopy Create free account
hub / github.com/modelcontextprotocol/inspector / clearError

Function clearError

client/src/App.tsx:846–848  ·  view source on GitHub ↗
(tabKey: keyof typeof errors)

Source from the content-addressed store, hash-verified

844 };
845
846 const clearError = (tabKey: keyof typeof errors) => {
847 setErrors((prev) => ({ ...prev, [tabKey]: null }));
848 };
849
850 const sendMCPRequest = async <T extends AnySchema>(
851 request: ClientRequest,

Callers 3

sendMCPRequestFunction · 0.85
cancelTaskFunction · 0.85
AppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected