diff --git a/src/content.ts b/src/content.ts index 24a1cd1..9ea99bc 100644 --- a/src/content.ts +++ b/src/content.ts @@ -10,7 +10,6 @@ class Background { const preferences: Preferences = await PreferencesRepository.get(); const hider = new TwitterHider(preferences); - hider.init(); } diff --git a/src/popup.ts b/src/popup.ts index 42bbac7..e2f0189 100644 --- a/src/popup.ts +++ b/src/popup.ts @@ -1,5 +1,6 @@ import { PreferencesRepository } from './preferences-repository'; import { Preferences } from './interfaces/preferences'; +import { TwitterHider } from './hider'; class Popup { private static hideLikesCheckbox: HTMLInputElement;