From 0813f127a30b376c5d5552a8cdb6e5cad5969c38 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 07 Jun 2023 03:58:26 +0000
Subject: [PATCH] fix darkmode script load
---
quartz/components/types.ts | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/quartz/components/types.ts b/quartz/components/types.ts
index e1bdebc..96ead5f 100644
--- a/quartz/components/types.ts
+++ b/quartz/components/types.ts
@@ -1,7 +1,6 @@
import { ComponentType } from "preact"
-export type QuartzComponent<Props> = {
- Component: ComponentType<Props>
+export type QuartzComponent<Props> = ComponentType<Props> & {
css?: string,
beforeDOMLoaded?: string,
afterDOMLoaded?: string,
--
Gitblit v1.10.0