Skip to content

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

docs: Removes `overrideParams` from the docs code (#21797)

Tylere6eaddbb5453
diff --git a/apps/docs/components/reference/RefFunctionSection.tsx b/apps/docs/components/reference/RefFunctionSection.tsx
index 983594113ad..b368f6eeb45 100644
--- a/apps/docs/components/reference/RefFunctionSection.tsx
+++ b/apps/docs/components/reference/RefFunctionSection.tsx
@@ -57,18 +57,9 @@ const RefFunctionSection: React.FC<IRefFunctionSection> = (props) => {
<h5 className="mb-3 text-base text-foreground">Parameters</h5>
<ul>
{parameters.map((param) => {
- // grab override params from yaml file
- const overrideParams = item.overrideParams
-
- // params from the yaml file can override the params from parameters if it matches the name
- const overide = overrideParams?.filter((x) => {
- return param.name === x.name
- })
-
- const paramItem = overide?.length > 0 ? overide[0] : param
return (
- <Param {...paramItem} key={param.name}>
- {paramItem.subContent && (
+ <Param {...param} key={param.name}>
+ {param.subContent && (
<div className="mt-3">
<Options>
{param.subContent.map((param) => {