Jacky Zhao
2024-01-28 ba40516c544f4196302364a84ee2cbecb331d46d
fix: fmt
1 files modified
5 ■■■■■ changed files
quartz/components/pages/FolderContent.tsx 5 ●●●●● patch | view | raw | blame | history
quartz/components/pages/FolderContent.tsx
@@ -20,7 +20,6 @@
}
export default ((opts?: Partial<FolderContentOptions>) => {
  // Merge options with defaults
  const options: FolderContentOptions = { ...defaultOptions, ...opts }
  function FolderContent(props: QuartzComponentProps) {
@@ -50,7 +49,9 @@
        <article>
          <p>{content}</p>
        </article>
        {options.showFolderCount && <p>{pluralize(allPagesInFolder.length, "item")} under this folder.</p>}
        {options.showFolderCount && (
          <p>{pluralize(allPagesInFolder.length, "item")} under this folder.</p>
        )}
        <div>
          <PageList {...listProps} />
        </div>