Jacky Zhao
2023-08-20 236130ac221f7d254ec9881f529f4ca567e15234
quartz/components/pages/FolderContent.tsx
@@ -25,10 +25,11 @@
    allFiles: allPagesInFolder,
  }
  const content = (tree as Root).children.length === 0 ?
    fileData.description :
    // @ts-ignore
    toJsxRuntime(tree, { Fragment, jsx, jsxs, elementAttributeNameCase: "html" })
  const content =
    (tree as Root).children.length === 0
      ? fileData.description
      : // @ts-ignore
        toJsxRuntime(tree, { Fragment, jsx, jsxs, elementAttributeNameCase: "html" })
  return (
    <div class="popover-hint">