From 235e68fa2ba9ef29995499d4e6fe3fe7efa7f05f Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Sat, 13 Dec 2025 16:28:27 +0000 Subject: [PATCH] lint :) --- frontend/src/core/tools/pdfTextEditor/PdfTextEditor.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/core/tools/pdfTextEditor/PdfTextEditor.tsx b/frontend/src/core/tools/pdfTextEditor/PdfTextEditor.tsx index b6e668ddf..91e469819 100644 --- a/frontend/src/core/tools/pdfTextEditor/PdfTextEditor.tsx +++ b/frontend/src/core/tools/pdfTextEditor/PdfTextEditor.tsx @@ -422,7 +422,7 @@ const PdfTextEditor = ({ onComplete, onError }: BaseToolProps) => { // Load images for a page in lazy mode const loadImagesForPage = useCallback( - async (pageIndex: number, fromRecovery = false) => { + async (pageIndex: number) => { if (!isLazyMode) { return; } @@ -1725,7 +1725,6 @@ const PdfTextEditor = ({ onComplete, onError }: BaseToolProps) => { unregisterCustomWorkbenchView(WORKBENCH_VIEW_ID); setLeftPanelView('toolPicker'); }; - // eslint-disable-next-line react-hooks/exhaustive-deps }, []); // Empty deps = cleanup only on unmount // Note: Compare tool doesn't auto-force workbench, and neither should we