mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
Cleanup
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user