Jacky Zhao
2023-07-26 45f9087f03fde7e7d762e25a9f2966d1e6e907f3
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
  }