From 4ca94df129c8fe1bc9bb29b2e319fba94d7acde4 Mon Sep 17 00:00:00 2001 From: Aaron Yarborough Date: Mon, 13 Apr 2020 13:52:46 +0100 Subject: [PATCH] Remove redundant code --- src/content.ts | 1 - src/popup.ts | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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;