diff --git a/www/utils/packages/react-docs-generator/src/commands/generate.ts b/www/utils/packages/react-docs-generator/src/commands/generate.ts index fa97fc5495..278d9aeadd 100644 --- a/www/utils/packages/react-docs-generator/src/commands/generate.ts +++ b/www/utils/packages/react-docs-generator/src/commands/generate.ts @@ -100,10 +100,6 @@ export default async function ({ mkdirSync(filePath) } - if (spec.displayName === "Drawer.Content") { - console.log("here", spec) - } - // write spec to output path writeFileSync( path.join(filePath, `${spec.displayName}.json`), diff --git a/www/utils/packages/react-docs-generator/src/utils/get-typescript-ts-type.ts b/www/utils/packages/react-docs-generator/src/utils/get-typescript-ts-type.ts index 6377e5e160..986003af2c 100644 --- a/www/utils/packages/react-docs-generator/src/utils/get-typescript-ts-type.ts +++ b/www/utils/packages/react-docs-generator/src/utils/get-typescript-ts-type.ts @@ -16,6 +16,7 @@ export function getTypescriptTsType( if ( !convertedType && "links" in symbol && + symbol.links && "type" in (symbol.links as Record) ) { const symbolTypeLink = (symbol.links as Record)