diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefList.tsx b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefList.tsx index 5ac1f5d3e45..f496428bb51 100644 --- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefList.tsx +++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefList.tsx @@ -12,10 +12,9 @@ import Image from 'next/image' const allFunctions = Object.values(clientLibsCommonSections.sections.functions) -// Get only the functions with references in the current librarry -// ie: if the lib === dart, only get the dart functions - const NavigationMenuRefList = ({ currentLevel, setLevel, id, lib }) => { + // Get only the functions with references in the current librarry + // ie: if the lib === dart, only get the dart functions const allCurrentFunctions = allFunctions .map((fn: any) => { if (fn.items.flat().find((item) => item.libs.includes(lib))) return fn