more pdfjs

This commit is contained in:
2025-11-16 20:13:47 +01:00
parent dae66703f2
commit 4b9f74d5a8
7 changed files with 205 additions and 88 deletions
+1 -1
View File
@@ -271,7 +271,7 @@ const DocumentViewerPanel: React.FC<DocumentViewerPanelProps> = ({
}
}, [hydrateDocument, document?.id]);
const panelRef = useRef<HTMLDivElement | HTMLFormElement | HTMLElement | null>(null);
const panelRef = useRef<HTMLDivElement | HTMLFormElement | HTMLElement | null>(null);
const isStackedLayout = useViewerLayoutMode(panelRef, document?.id);
const {