mirror of
				https://github.com/ZetaKebab/quartz.git
				synced 2025-11-03 22:49:47 +00:00 
			
		
		
		
	fix: fmt
This commit is contained in:
		@@ -20,7 +20,6 @@ const defaultOptions: FolderContentOptions = {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export default ((opts?: Partial<FolderContentOptions>) => {
 | 
			
		||||
  // Merge options with defaults
 | 
			
		||||
  const options: FolderContentOptions = { ...defaultOptions, ...opts }
 | 
			
		||||
 | 
			
		||||
  function FolderContent(props: QuartzComponentProps) {
 | 
			
		||||
@@ -50,7 +49,9 @@ export default ((opts?: Partial<FolderContentOptions>) => {
 | 
			
		||||
        <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>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user