mirror of
https://github.com/supabase/supabase.git
synced 2026-06-08 10:33:55 +08:00
docs: Remove error codes section from Flutter, Swift, and Python reference docs. (#28334)
* exclude dart, python, and swift from error codes menu * Update the error code doc to be client lib agnostic * run formatter * Add a filter to filter out section items * Update apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefList.tsx * docs: move error codes table in a separate component * Add auth error codes section for kotlin
This commit is contained in:
@@ -28,6 +28,12 @@ const NavigationMenuRefList = ({
|
||||
}
|
||||
|
||||
const filteredSections = commonSections.filter((section) => {
|
||||
if (section.type === 'category') {
|
||||
section.items = section.items.filter((item) => {
|
||||
return !item.excludes?.includes(id)
|
||||
})
|
||||
}
|
||||
|
||||
return !section.excludes?.includes(id)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user