From 487818c61a8654f972d09ff04a9aae2a6bcc0c63 Mon Sep 17 00:00:00 2001 From: "Rayyan (Rayy)" Date: Tue, 10 Oct 2023 09:57:56 +0000 Subject: [PATCH] Enabling Google Firestore from Firebase --- src/App.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/App.js b/src/App.js index d336dbb..a6dcd5d 100644 --- a/src/App.js +++ b/src/App.js @@ -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