Skip to content

Commit

Permalink
chore: remove debugging code (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatiusmb authored Oct 23, 2023
1 parent 8dccb61 commit 4bb43fd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 48 deletions.
3 changes: 0 additions & 3 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
// import PickerButton from './PickerButton.svelte';
// import ProfileButton from './ProfileButton.svelte';
// import Profiler from './Profiler.svelte';
import ReloadExtension from './ReloadExtension.svelte';
import SearchBox from './SearchBox.svelte';
import VisibilitySelection from './VisibilitySelection.svelte';
Expand Down Expand Up @@ -160,8 +159,6 @@
<ConnectMessage />
{/if}

<ReloadExtension />

<style>
main {
flex: 1 1 0;
Expand Down
43 changes: 0 additions & 43 deletions src/routes/ReloadExtension.svelte

This file was deleted.

2 changes: 0 additions & 2 deletions static/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ chrome.runtime.onConnect.addListener((port) => {
ports.set(message.tabId, sender);

return chrome.tabs.onUpdated.addListener(courier);
} else if (message.type === 'ext/reload') {
return chrome.runtime.reload();
} else if (message.type === 'page/refresh') {
return chrome.tabs.reload(message.tabId, { bypassCache: true });
}
Expand Down

0 comments on commit 4bb43fd

Please sign in to comment.