From 1eed6e5495394ca062e50cf27c4137785ef7d5fa Mon Sep 17 00:00:00 2001 From: Terry Sutton Date: Wed, 7 Dec 2022 00:30:51 -0330 Subject: [PATCH] Cleanup --- .../Navigation/NavigationMenu/NavigationMenuRefList.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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