From 0a2b52f618c8a76a2f2a0e29223b5289c0225634 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 24 Mar 2024 22:50:38 +0000
Subject: [PATCH] simpler katex fix

---
 quartz/components/pages/404.tsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/quartz/components/pages/404.tsx b/quartz/components/pages/404.tsx
index 276d5e5..4ef1b91 100644
--- a/quartz/components/pages/404.tsx
+++ b/quartz/components/pages/404.tsx
@@ -1,7 +1,7 @@
 import { i18n } from "../../i18n"
-import { QuartzComponentConstructor, QuartzComponentProps } from "../types"
+import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "../types"
 
-function NotFound({ cfg }: QuartzComponentProps) {
+const NotFound: QuartzComponent = ({ cfg }: QuartzComponentProps) => {
   return (
     <article class="popover-hint">
       <h1>404</h1>

--
Gitblit v1.10.0