From 4bbcc0c50aca68d470542c1af8fd5f8060d97ab8 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 06 Aug 2024 02:33:23 +0000
Subject: [PATCH] pkg: minor bump for breaking nodejs bump :)
---
quartz/components/Explorer.tsx | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/quartz/components/Explorer.tsx b/quartz/components/Explorer.tsx
index f701734..24583a1 100644
--- a/quartz/components/Explorer.tsx
+++ b/quartz/components/Explorer.tsx
@@ -1,4 +1,4 @@
-import { QuartzComponentConstructor, QuartzComponentProps } from "./types"
+import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types"
import explorerStyle from "./styles/explorer.scss"
// @ts-ignore
@@ -75,7 +75,12 @@
jsonTree = JSON.stringify(folders)
}
- function Explorer({ cfg, allFiles, displayClass, fileData }: QuartzComponentProps) {
+ const Explorer: QuartzComponent = ({
+ cfg,
+ allFiles,
+ displayClass,
+ fileData,
+ }: QuartzComponentProps) => {
constructFileTree(allFiles)
return (
<div class={classNames(displayClass, "explorer")}>
@@ -87,7 +92,7 @@
data-savestate={opts.useSavedState}
data-tree={jsonTree}
>
- <h1>{opts.title ?? i18n(cfg.locale).components.explorer.title}</h1>
+ <h2>{opts.title ?? i18n(cfg.locale).components.explorer.title}</h2>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
--
Gitblit v1.10.0