From e6c8f238f9b6c5eec5dfbe1f5c11c02ee41eff78 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 20 Oct 2025 12:40:41 +0300 Subject: [PATCH] fix(client/print): stylesheet not loading in prod --- apps/client/src/print.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/print.tsx b/apps/client/src/print.tsx index 86d98b113..697ab1a6b 100644 --- a/apps/client/src/print.tsx +++ b/apps/client/src/print.tsx @@ -1,7 +1,6 @@ import FNote from "./entities/fnote"; import { render } from "preact"; import { CustomNoteList } from "./widgets/collections/NoteList"; -import "./print.css"; import { useCallback, useLayoutEffect, useRef } from "preact/hooks"; import content_renderer from "./services/content_renderer"; @@ -15,6 +14,7 @@ async function main() { const noteId = notePath.split("/").at(-1); if (!noteId) return; + await import("./print.css"); const froca = (await import("./services/froca")).default; const note = await froca.getNote(noteId);