From 4acc746d2d35ff1606259964847c93f83cdc6926 Mon Sep 17 00:00:00 2001 From: Srujan Gurram Date: Mon, 27 Nov 2023 00:07:59 +0530 Subject: [PATCH] Refactor captureScreenListener to use an underscore for the unused sender parameter --- src/pages/background/sidebar/captureScreenListener.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/background/sidebar/captureScreenListener.ts b/src/pages/background/sidebar/captureScreenListener.ts index 515558bf..57209e0b 100644 --- a/src/pages/background/sidebar/captureScreenListener.ts +++ b/src/pages/background/sidebar/captureScreenListener.ts @@ -4,7 +4,7 @@ * user snipes the screen. */ export const captureScreenListener = async () => { - chrome.runtime.onMessage.addListener((request, sender, sendResponse) => { + chrome.runtime.onMessage.addListener((request, _sender, sendResponse) => { if (request.action === "captureVisibleTab") { chrome.tabs.captureVisibleTab((dataUrl) => { sendResponse(dataUrl);