mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 19:46:23 +00:00
fix: format
This commit is contained in:
parent
91f0a2abb2
commit
daa8796554
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ const TagContent: QuartzComponent = (props: QuartzComponentProps) => {
|
|||
|
||||
const root = contentPage?.htmlAst
|
||||
const content =
|
||||
!root || root?.children.length === 0
|
||||
!root || root?.children.length === 0
|
||||
? contentPage?.description
|
||||
: htmlToJsx(contentPage.filePath!, root)
|
||||
|
||||
|
|
Loading…
Reference in a new issue