mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 21:34:06 -06:00
fix: format PageCount with Prettier
This commit is contained in:
parent
d1aae46e87
commit
2192e9dfef
@ -2,11 +2,7 @@ import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } fro
|
||||
import { classNames } from "../util/lang"
|
||||
import { i18n } from "../i18n"
|
||||
|
||||
const PageCount: QuartzComponent = ({
|
||||
allFiles,
|
||||
displayClass,
|
||||
cfg,
|
||||
}: QuartzComponentProps) => {
|
||||
const PageCount: QuartzComponent = ({ allFiles, displayClass, cfg }: QuartzComponentProps) => {
|
||||
const count = allFiles.length
|
||||
return (
|
||||
<div class={classNames(displayClass, "page-count")}>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user