diff --git a/config.js b/config.js index fcbe3c0..f080a32 100644 --- a/config.js +++ b/config.js @@ -1,11 +1,4 @@ -// Import the functions you need from the SDKs you need -import { initializeApp } from "firebase/app"; -import { getAnalytics } from "firebase/analytics"; -// TODO: Add SDKs for Firebase products that you want to use -// https://firebase.google.com/docs/web/setup#available-libraries - // Your web app's Firebase configuration -// For Firebase JS SDK v7.20.0 and later, measurementId is optional const firebaseConfig = { apiKey: "AIzaSyDNk5EGWDPBr8MkUFNdfvhP1NvnDxWERq8", authDomain: "science-bowl-practice-8800a.firebaseapp.com", @@ -17,6 +10,6 @@ const firebaseConfig = { measurementId: "G-4TD0W788X5" }; -// Initialize Firebase -const app = initializeApp(firebaseConfig); -const analytics = getAnalytics(app); \ No newline at end of file +// Initialize Firebase (using compat version) +firebase.initializeApp(firebaseConfig); +const database = firebase.database(); \ No newline at end of file