Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix

Joshen Lim8459db1be543
diff --git a/studio/components/interfaces/TableGridEditor/APIDocumentationPanel.tsx b/studio/components/interfaces/TableGridEditor/APIDocumentationPanel.tsx
index 432f74529ed..3a9e2b1ae0f 100644
--- a/studio/components/interfaces/TableGridEditor/APIDocumentationPanel.tsx
+++ b/studio/components/interfaces/TableGridEditor/APIDocumentationPanel.tsx
@@ -120,7 +120,7 @@ const APIDocumentationPanel = ({ visible, onClose }: APIDocumentationPanelProps)
<ResourceContent
autoApiService={autoApiService}
selectedLang={selectedLang}
- resourceId={tables.find((table) => table.id === Number(id))?.name}
+ resourceId={table?.name}
resources={resources}
definitions={jsonSchema.definitions}
paths={jsonSchema.paths}