From a0d651d64dfd766157324fd86791da2168028cf2 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 06 Aug 2023 00:53:29 +0000
Subject: [PATCH] reverse query param hack to re-add sourcemap support

---
 quartz/components/ReadingTime.tsx |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/quartz/components/ReadingTime.tsx b/quartz/components/ReadingTime.tsx
index 3e3d4d7..f802c87 100644
--- a/quartz/components/ReadingTime.tsx
+++ b/quartz/components/ReadingTime.tsx
@@ -5,7 +5,11 @@
   const text = fileData.text
   if (text) {
     const { text: timeTaken, words } = readingTime(text)
-    return <p class="reading-time">{words} words, {timeTaken}</p>
+    return (
+      <p class="reading-time">
+        {words} words, {timeTaken}
+      </p>
+    )
   } else {
     return null
   }

--
Gitblit v1.10.0