mirror of
https://github.com/supabase/supabase.git
synced 2026-07-01 01:25:54 +08:00
try and fix JS
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 |
|
||||
|
||||
---
|
||||
Reference in New Issue
Block a user