Skip to content

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

try and fix JS

Jonathan Summers-Muir63a129bc07ba
diff --git a/apps/docs/components/reference/RefEducationSection.tsx b/apps/docs/components/reference/RefEducationSection.tsx
index 05ae7a178f8..ab3ba6953c6 100644
--- a/apps/docs/components/reference/RefEducationSection.tsx
+++ b/apps/docs/components/reference/RefEducationSection.tsx
@@ -4,7 +4,10 @@ import components from '~/components'
const RefEducationSection = (props) => {
// gracefully reject pages we can't render
- if (!props.markdownContent) return <></>
+ if (!props.markdownContent) {
+ console.log(props.item.id)
+ return <div></div>
+ }
return (
<RefSubLayout.EducationSection
diff --git a/apps/docs/components/reference/RefSectionHandler.tsx b/apps/docs/components/reference/RefSectionHandler.tsx
index e477984ebfe..17ceb8c34b4 100644
--- a/apps/docs/components/reference/RefSectionHandler.tsx
+++ b/apps/docs/components/reference/RefSectionHandler.tsx
@@ -51,7 +51,6 @@ const RefSectionHandler = (props) => {
switch (x.isFunc) {
case false:
const markdownData = props.pageProps.docs.find((doc) => doc.id === x.id)
- console.log(markdownData)
return <RefEducationSection item={x} markdownContent={markdownData} />
break
diff --git a/apps/docs/docs/ref/js/auth.signUp().mdx b/apps/docs/docs/ref/js/auth.signUp().mdx
deleted file mode 100644
index 3f07a984c9d..00000000000
--- a/apps/docs/docs/ref/js/auth.signUp().mdx
+++ /dev/null
@@ -1,8 +0,0 @@
-Hey this is Jonny, i'm writing my own content in here along with the generated stuff... wowsers
-
-| Syntax | Description |
-| --------- | ----------- |
-| Header | Title |
-| Paragraph | Text |
-
----
diff --git a/apps/docs/docs/ref/js/delete().mdx b/apps/docs/docs/ref/js/delete.mdx
similarity index 100%
rename from apps/docs/docs/ref/js/delete().mdx
rename to apps/docs/docs/ref/js/delete.mdx
diff --git a/apps/docs/docs/ref/js/select().mdx b/apps/docs/docs/ref/js/select.mdx
similarity index 100%
rename from apps/docs/docs/ref/js/select().mdx
rename to apps/docs/docs/ref/js/select.mdx