mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-12-18 20:04: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
|
||||
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user