Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 16:00 UTC
docs: build the reference nav index from the tree the layout already awaited
getNavIndex() awaited buildReferenceTree() on its own while Layout had already awaited the same tree for DocsLayout, so the first render built and filtered the reference tree twice. The memo it protected was a module-level singleton with no key, which is what prompted removing the parameter in the first place. Dropping the memo resolves both: the index is one traversal over ~64 nodes built from the tree already in hand, matching how the docs and examples layouts work. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>