From b4236e5142c31829cf809c0fbc8370ac22b6d1ba Mon Sep 17 00:00:00 2001
From: kabirgh <15871468+kabirgh@users.noreply.github.com>
Date: Sun, 10 Mar 2024 00:42:23 +0000
Subject: [PATCH] feat(perf:fast-rebuilds): Stop mutating resources param in ComponentResources emitter (#977)

---
 quartz/plugins/emitters/contentPage.tsx |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/quartz/plugins/emitters/contentPage.tsx b/quartz/plugins/emitters/contentPage.tsx
index 904a8a8..f493802 100644
--- a/quartz/plugins/emitters/contentPage.tsx
+++ b/quartz/plugins/emitters/contentPage.tsx
@@ -97,6 +97,7 @@
 
         const externalResources = pageResources(pathToRoot(slug), resources)
         const componentData: QuartzComponentProps = {
+          ctx,
           fileData: file.data,
           externalResources,
           cfg,

--
Gitblit v1.10.0