From e2a62b68f3a2fc4414ff27a7908f4ee7e93b6142 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Mon, 13 Jul 2026 19:04:11 +0530 Subject: refactor: some more refactoring and removing unused or depticated code --- src/background/run-ocr.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/background') diff --git a/src/background/run-ocr.ts b/src/background/run-ocr.ts index 4d0b080..54c9e5f 100644 --- a/src/background/run-ocr.ts +++ b/src/background/run-ocr.ts @@ -22,7 +22,7 @@ async function setupOffscreenDocument() { * image data URL to an offscreen document for Tesseract.js processing * and sends the recognised text back to the caller. */ -chrome.runtime.onMessage.addListener((message, sender, sendResponse) => { +chrome.runtime.onMessage.addListener((message, _sender, sendResponse) => { if (message.type === "OCR" && message.dataURL) { (async () => { try { -- cgit v1.2.3