Skip to content

Commit

Permalink
fix: make necessary changed to firebase.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
TusharMohapatra07 committed Aug 16, 2024
1 parent 3d7f1a1 commit 9e99508
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Firebase.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { getAuth, GoogleAuthProvider } from "firebase/auth";
import { getFirestore } from 'firebase/firestore';
import { getFirestore } from "firebase/firestore";
import { getStorage } from "firebase/storage";
// TODO: Add SDKs for Firebase products that you want to use
// https://firebase.google.com/docs/web/setup#available-libraries

Expand All @@ -22,5 +23,6 @@ const app = initializeApp(firebaseConfig);
const auth = getAuth(app);
const db = getFirestore(app);
const googleProvider = new GoogleAuthProvider();
const storage = getStorage(app);

export { auth, googleProvider, db };
export { auth, googleProvider, db, storage };

0 comments on commit 9e99508

Please sign in to comment.