Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
docs: fix React state mutation in managed-auth-list
Sushmitha Mallesh16eaf39ad553
diff --git a/docs/components/toolkits/managed-auth-list.tsx b/docs/components/toolkits/managed-auth-list.tsxindex 9e2a04173..558b86578 100644--- a/docs/components/toolkits/managed-auth-list.tsx+++ b/docs/components/toolkits/managed-auth-list.tsx@@ -116,7 +116,7 @@ export function ManagedAuthList() {const list = s? data.filter((t) => t.name.toLowerCase().includes(s) || t.slug.toLowerCase().includes(s)): data;- return list.sort((a, b) => a.name.trim().localeCompare(b.name.trim()));+ return [...list].sort((a, b) => a.name.trim().localeCompare(b.name.trim()));}, [data, deferredSearch]);const managed = useMemo(