fix: format

This commit is contained in:
Jacky Zhao 2024-03-17 18:15:42 -07:00
parent 91f0a2abb2
commit daa8796554

View file

@ -56,7 +56,7 @@ const TagContent: QuartzComponent = (props: QuartzComponentProps) => {
const root = contentPage?.htmlAst const root = contentPage?.htmlAst
const content = const content =
!root || root?.children.length === 0 !root || root?.children.length === 0
? contentPage?.description ? contentPage?.description
: htmlToJsx(contentPage.filePath!, root) : htmlToJsx(contentPage.filePath!, root)