From 5928d82a561d74c4656a633d8af4f03f4b97dd73 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 13 Mar 2025 19:11:27 +0000
Subject: [PATCH] fix(og): search for font family properly
---
quartz/plugins/emitters/componentResources.ts | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/quartz/plugins/emitters/componentResources.ts b/quartz/plugins/emitters/componentResources.ts
index 29ff3bd..fe855ba 100644
--- a/quartz/plugins/emitters/componentResources.ts
+++ b/quartz/plugins/emitters/componentResources.ts
@@ -234,7 +234,7 @@
for (const fontFile of fontFiles) {
const res = await fetch(fontFile.url)
if (!res.ok) {
- throw new Error(`failed to fetch font ${fontFile.filename}`)
+ throw new Error(`Failed to fetch font ${fontFile.filename}`)
}
const buf = await res.arrayBuffer()
--
Gitblit v1.10.0