fix(reader): correct PDF import path after directory restructuring

Update import statement for getPDFPage to use the new directory structure
where PDF-related utilities are now located under formats/pdf/ instead of
the direct pdf/ directory.

This resolves a runtime import error that would occur when attempting to
render PDF pages in the reader interface.
This commit is contained in:
2026-04-10 11:42:16 -04:00
parent bd94d302ae
commit 4259ffe95f
+1 -1
View File
@@ -366,7 +366,7 @@ async function renderPDFPage() {
const container = document.getElementById("reader-content");
if (!container) return;
const { getPDFPage } = await import("../pdf/pdfjs-wrapper");
const { getPDFPage } = await import("../formats/pdf/pdfjs-wrapper");
try {
const page = await getPDFPage(state.currentReader.currentPage);