Update firebaseService.js
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
// Import the functions you need from the SDKs you need
|
// Import the functions you need from the SDKs you need
|
||||||
import * as firebase from "firebase/app";
|
import * as firebase from "firebase/app";
|
||||||
import { getAnalytics } from "firebase/analytics";
|
// import { getAnalytics } from "firebase/analytics";
|
||||||
import { getFirestore } from "firebase/firestore";
|
import { getFirestore } from "firebase/firestore";
|
||||||
import {
|
import {
|
||||||
browserSessionPersistence,
|
browserSessionPersistence,
|
||||||
@@ -36,7 +36,7 @@ const firebaseConfig = {
|
|||||||
// Initialize Firebase
|
// Initialize Firebase
|
||||||
// if (typeof window !== "undefined") {
|
// if (typeof window !== "undefined") {
|
||||||
const app = firebase.initializeApp(firebaseConfig);
|
const app = firebase.initializeApp(firebaseConfig);
|
||||||
const analytics = getAnalytics(app);
|
// const analytics = getAnalytics(app);
|
||||||
|
|
||||||
console.log("initialized firebase");
|
console.log("initialized firebase");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user