Skip to content

Commit

Permalink
chore: remove unnecessary variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex4386 committed Jun 2, 2024
1 parent cfb8175 commit ddcda7b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ browser.tabs.onUpdated.addListener(async (tabId, info, tab) => {
const url = info.url || tab.url;

// Save previous URL
const previousTabUrl = previousTabUrls[tabId];
if (info.status === 'complete') {
if (url) previousTabUrls[tabId] = url;
else delete previousTabUrls[tabId];
Expand Down

0 comments on commit ddcda7b

Please sign in to comment.