From 0ce204a948638bde9c3309e1dbaff3dd9b3331c8 Mon Sep 17 00:00:00 2001 From: nick comer Date: Fri, 14 Jun 2024 13:48:03 -0400 Subject: [PATCH] fix: unused parameter on favicon function --- src/popup/main.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/popup/main.tsx b/src/popup/main.tsx index dd0f3e5..71e6029 100644 --- a/src/popup/main.tsx +++ b/src/popup/main.tsx @@ -167,7 +167,7 @@ const HighlightMatches: FunctionComponent<{ // }); // } -function faviconURL(t: chrome.tabs.Tab, size: number): string | undefined { +function faviconURL(t: chrome.tabs.Tab): string | undefined { return ( t.favIconUrl ?? "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=" @@ -561,7 +561,7 @@ const Popup: FunctionComponent = () => { No Results Found ) : null} {searchResults.map((t, i) => { - const favicURL = faviconURL(t.item, 32); + const favicURL = faviconURL(t.item); const showCloseAction = tabHover === t.item.id! && !t.item.pinned; return (