'use strict'
console.log("GETTING TO FIREBASE.JS")
// import firebase from 'firebase';
const config = {
  apiKey: 'AIzaSyDH2LzZ1o__5JwmdJuhw0VqY_CIMTeRQ2Y',
  authDomain: 'hot-spot-fire-rescue-7ae18.firebaseapp.com',
  databaseURL: 'https://hot-spot-fire-rescue-7ae18.firebaseio.com',
  projectId: 'hot-spot-fire-rescue-7ae18',
  storageBucket: '',
  messagingSenderId: '1060889978146'
}
console.log("THIS IS CONFIG", config)

const firebase = require("firebase")
require("firebase/auth")
require("firebase/database")
export const fbDB = firebase.database()
export const fbAuth = firebase.auth()

export const googleProvider = new firebase.auth.GoogleAuthProvider()
// googleProvider.addScope('https://www.googleapis.com/auth/plus.login');
export const facebookProvider = new firebase.auth.FacebookAuthProvider()
firebase.auth().onAuthStateChanged((user) => {
  if (user) {
    console.log('hahahahahahahha', user.uid)
  }
})
console.log('fbDB', fbDB)
console.log('fbAuth ID YESSSSS', fbAuth)
console.log(googleProvider)
console.log(facebookProvider)

@@ -10,46 +10,8 @@
 ct'%0A
-console.log(%22GETTING TO FIREBASE.JS%22)%0A
 // i
@@ -346,46 +346,8 @@
 6'%0A%7D
-%0Aconsole.log(%22THIS IS CONFIG%22, config)
 %0A%0Aco
@@ -794,16 +794,19 @@
 r) %7B%0A   
+ //
  console
@@ -815,23 +815,11 @@
 og('
-hahahahahahahha
+uid
 ', u
@@ -834,16 +834,20 @@
 %0A  %7D%0A%7D)%0A
+%0A// 
 console.
@@ -855,16 +855,17 @@
 og('fbDB
+:
 ', fbDB)
@@ -865,16 +865,19 @@
 , fbDB)%0A
+// 
 console.
@@ -894,16 +894,9 @@
 h ID
- YESSSSS
+:
 ', f
@@ -902,16 +902,19 @@
 fbAuth)%0A
+// 
 console.
@@ -933,16 +933,19 @@
 ovider)%0A
+// 
 console.

Update firebase.js