mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-26 14:24:05 -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 { classNames } from "../util/lang"
|
||||||
import { i18n } from "../i18n"
|
import { i18n } from "../i18n"
|
||||||
|
|
||||||
const PageCount: QuartzComponent = ({
|
const PageCount: QuartzComponent = ({ allFiles, displayClass, cfg }: QuartzComponentProps) => {
|
||||||
allFiles,
|
|
||||||
displayClass,
|
|
||||||
cfg,
|
|
||||||
}: QuartzComponentProps) => {
|
|
||||||
const count = allFiles.length
|
const count = allFiles.length
|
||||||
return (
|
return (
|
||||||
<div class={classNames(displayClass, "page-count")}>
|
<div class={classNames(displayClass, "page-count")}>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user