From c163cceb1f2cbce57de380604cef23615a7448d3 Mon Sep 17 00:00:00 2001 From: Ben Schlegel Date: Thu, 7 Mar 2024 19:50:12 +0100 Subject: [PATCH] fix: file system import --- quartz/components/Head.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quartz/components/Head.tsx b/quartz/components/Head.tsx index 7f4283861..227a334de 100644 --- a/quartz/components/Head.tsx +++ b/quartz/components/Head.tsx @@ -3,7 +3,7 @@ import { FullSlug, joinSegments, pathToRoot } from "../util/path" import { JSResourceToScriptElement } from "../util/resources" import { QuartzComponentConstructor, QuartzComponentProps } from "./types" import satori, { SatoriOptions } from "satori" -import * as fs from "fs" +import fs from "fs" import { ImageOptions, SocialImageOptions, getSatoriFont } from "../util/imageHelper" import sharp from "sharp" import { defaultImage } from "../util/socialImage"