pages/search: cleanup session

This commit is contained in:
He4eT 2024-01-23 21:56:38 +01:00
commit 901f7ac65b
2 changed files with 33 additions and 29 deletions

View file

@ -8,7 +8,6 @@ const store = Store.init({
windows: browser.windows,
onStateUpdate: dom.updateSearchResults,
closeCurrentTab: () => {
history.replaceState({}, '', '')
browser.runtime.sendMessage({action: 'closeSender'})
},
})