Skip to content

Commit

Permalink
Merge pull request #24 from TusharMohapatra07/main
Browse files Browse the repository at this point in the history
fix: make necessary changed to firebase.ts
  • Loading branch information
SkySingh04 authored Aug 16, 2024
2 parents c7394cf + 9e99508 commit b9f53cd
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 b9f53cd

Please sign in to comment.