mirror of
https://github.com/supabase/supabase.git
synced 2026-06-08 18:47:20 +08:00
Cleanup
This commit is contained in:
@@ -18,7 +18,6 @@ interface RefSectionHandlerProps {
|
||||
}
|
||||
|
||||
const RefSectionHandler = (props: RefSectionHandlerProps) => {
|
||||
console.log('props', props)
|
||||
const router = useRouter()
|
||||
|
||||
const slug = router.query.slug[0]
|
||||
|
||||
@@ -23,9 +23,6 @@ export function extractTsDocNode(nodeToFind: string, definition: any) {
|
||||
}
|
||||
|
||||
export function generateParameters(tsDefinition: any) {
|
||||
if (!tsDefinition.signatures) {
|
||||
console.log('tsDefinition', tsDefinition.signatures)
|
||||
}
|
||||
let functionDeclaration = null
|
||||
if (tsDefinition.kindString == 'Method') {
|
||||
functionDeclaration = tsDefinition
|
||||
|
||||
@@ -12,7 +12,6 @@ const generatedSpec = gen_v3(specFile, 'wat', { apiUrl: 'apiv0' })
|
||||
const sections = flattenSections(apiCommonSections)
|
||||
|
||||
export default function Config(props) {
|
||||
console.log('generatedSpec', generatedSpec)
|
||||
return <RefSectionHandler sections={sections} spec={generatedSpec} pageProps={props} type="api" />
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user