diff --git a/src/background.js b/src/background.js index 3d2e59ac..fd8f8d89 100644 --- a/src/background.js +++ b/src/background.js @@ -5,7 +5,7 @@ import { isFirefox, firebaseConfig } from "./config.js"; import { userHasActiveSubscriptionRole } from "./stripe.js"; import { getApp, getApps, initializeApp } from "firebase/app"; import { getDatabase, ref, child, update, get, remove } from "firebase/database"; -import { getFirestore, query, collection, getDocs, orderBy, limit, where } from "firebase/firestore"; +import { getFirestore, query, collection, doc, setDoc, getDocs, orderBy, limit, where } from "firebase/firestore"; import { getAuth } from "firebase/auth"; import { countryToCurrency } from "country-to-currency"; // We need to import utils.js to get the console re-routing function diff --git a/src/html/breakingNews.js b/src/html/breakingNews.js index 8ccfc7e5..7c529d32 100644 --- a/src/html/breakingNews.js +++ b/src/html/breakingNews.js @@ -20,7 +20,7 @@ function getDomElements() { // FOOTER // View changelog button viewChangelogButton: document.getElementById("viewChangelogButton"), - } + }; } // Set default values from configSync == user preferences