From d88e43010adaac5b842274ab0461a7d76c8f479d Mon Sep 17 00:00:00 2001
From: Anton Bulakh <him@necauq.ua>
Date: Mon, 30 Dec 2024 17:08:35 +0000
Subject: [PATCH] fix(tags): Fix TagContent not sorting the page list when opening a tag (#1692)
---
quartz/components/types.ts | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/quartz/components/types.ts b/quartz/components/types.ts
index 803ada9..a6b90d3 100644
--- a/quartz/components/types.ts
+++ b/quartz/components/types.ts
@@ -1,15 +1,17 @@
import { ComponentType, JSX } from "preact"
-import { StaticResources } from "../resources"
+import { StaticResources } from "../util/resources"
import { QuartzPluginData } from "../plugins/vfile"
import { GlobalConfiguration } from "../cfg"
import { Node } from "hast"
+import { BuildCtx } from "../util/ctx"
export type QuartzComponentProps = {
+ ctx: BuildCtx
externalResources: StaticResources
fileData: QuartzPluginData
cfg: GlobalConfiguration
children: (QuartzComponent | JSX.Element)[]
- tree: Node<QuartzPluginData>
+ tree: Node
allFiles: QuartzPluginData[]
displayClass?: "mobile-only" | "desktop-only"
} & JSX.IntrinsicAttributes & {
--
Gitblit v1.10.0