Enabling Google Firestore from Firebase
This commit is contained in:
parent
10dc5673eb
commit
487818c61a
|
@ -7,6 +7,7 @@ import { getAuth,
|
|||
onAuthStateChanged,
|
||||
signOut,
|
||||
signInWithEmailAndPassword } from "firebase/auth";
|
||||
import { getFirestore } from "firebase/firestore";
|
||||
|
||||
import { Header } from "./components/Header"
|
||||
import './App.css'
|
||||
|
@ -25,6 +26,7 @@ import { AuthContext } from "./contexts/AuthContext"
|
|||
function App() {
|
||||
const FBapp = initializeApp(FirebaseConfig)
|
||||
const FBauth = getAuth()
|
||||
const FBdb = getFirestore()
|
||||
|
||||
|
||||
// navigation array
|
||||
|
|
Loading…
Reference in New Issue