mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 19:49:01 +01:00
fix(client/print): stylesheet not loading in prod
This commit is contained in:
parent
e069d87fe8
commit
e6c8f238f9
@ -1,7 +1,6 @@
|
|||||||
import FNote from "./entities/fnote";
|
import FNote from "./entities/fnote";
|
||||||
import { render } from "preact";
|
import { render } from "preact";
|
||||||
import { CustomNoteList } from "./widgets/collections/NoteList";
|
import { CustomNoteList } from "./widgets/collections/NoteList";
|
||||||
import "./print.css";
|
|
||||||
import { useCallback, useLayoutEffect, useRef } from "preact/hooks";
|
import { useCallback, useLayoutEffect, useRef } from "preact/hooks";
|
||||||
import content_renderer from "./services/content_renderer";
|
import content_renderer from "./services/content_renderer";
|
||||||
|
|
||||||
@ -15,6 +14,7 @@ async function main() {
|
|||||||
const noteId = notePath.split("/").at(-1);
|
const noteId = notePath.split("/").at(-1);
|
||||||
if (!noteId) return;
|
if (!noteId) return;
|
||||||
|
|
||||||
|
await import("./print.css");
|
||||||
const froca = (await import("./services/froca")).default;
|
const froca = (await import("./services/froca")).default;
|
||||||
const note = await froca.getNote(noteId);
|
const note = await froca.getNote(noteId);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user