Skip to content

Commit 16b441e

Browse files
Update src/theme/DocItem/Content/index.js
Co-authored-by: František Nesveda <[email protected]>
1 parent 77f05d1 commit 16b441e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/theme/DocItem/Content/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default function DocItemContent({ children }) {
5454
return (
5555
<div className={clsx(ThemeClassNames.docs.docMarkdown, 'markdown')}>
5656
<header>
57-
<Heading as="h1">{syntheticTitle}</Heading>
57+
{syntheticTitle && <Heading as="h1">{syntheticTitle}</Heading>}
5858
{shouldShowLLMButtons && <LLMButtons />}
5959
<MDXContent>{children}</MDXContent>
6060
</header>

0 commit comments

Comments
 (0)