fix: assessments on homepage failed to load

This commit is contained in:
SethBurkart123
2024-02-11 21:39:30 +11:00
parent a2a908184b
commit b1e986900a
3 changed files with 20 additions and 21 deletions
-2
View File
@@ -5,8 +5,6 @@ import { SettingsState } from '../../types/storage';
export async function appendBackgroundToUI() {
const settings = await browser.storage.local.get() as SettingsState;
console.log(settings.theme);
if (settings.theme == '') return;
const parent = document.getElementById('container');
@@ -22,7 +22,6 @@ export default class StorageListener {
}
handleStorageChanges(changes: any) {
console.log('Storage changed:', changes);
Object.keys(changes).forEach((changeKey) => {
switch (changeKey) {