mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-01-14 20:11:17 +01:00
lint :)
This commit is contained in:
parent
3279b28a76
commit
235e68fa2b
@ -422,7 +422,7 @@ const PdfTextEditor = ({ onComplete, onError }: BaseToolProps) => {
|
|||||||
|
|
||||||
// Load images for a page in lazy mode
|
// Load images for a page in lazy mode
|
||||||
const loadImagesForPage = useCallback(
|
const loadImagesForPage = useCallback(
|
||||||
async (pageIndex: number, fromRecovery = false) => {
|
async (pageIndex: number) => {
|
||||||
if (!isLazyMode) {
|
if (!isLazyMode) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -1725,7 +1725,6 @@ const PdfTextEditor = ({ onComplete, onError }: BaseToolProps) => {
|
|||||||
unregisterCustomWorkbenchView(WORKBENCH_VIEW_ID);
|
unregisterCustomWorkbenchView(WORKBENCH_VIEW_ID);
|
||||||
setLeftPanelView('toolPicker');
|
setLeftPanelView('toolPicker');
|
||||||
};
|
};
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
||||||
}, []); // Empty deps = cleanup only on unmount
|
}, []); // Empty deps = cleanup only on unmount
|
||||||
|
|
||||||
// Note: Compare tool doesn't auto-force workbench, and neither should we
|
// Note: Compare tool doesn't auto-force workbench, and neither should we
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user