This commit is contained in:
Terry Sutton committed 2022-12-07 00:30:51 -03:30
1 parent 7cff8a3d43
commit 1eed6e5495
1 file changed
+2 -3
@@ -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