Skip to content

Commit

Permalink
chore: update firebase.ts to use app parameter in getAuth and getFire…
Browse files Browse the repository at this point in the history
…store functions
  • Loading branch information
arnonrdp committed Jun 14, 2024
1 parent 0aac747 commit 0d4894b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/firebase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const app = initializeApp(firebaseConfig)

getAnalytics(app)

const auth = getAuth()
const db = getFirestore()
const auth = getAuth(app)
const db = getFirestore(app)

export { auth, db }

0 comments on commit 0d4894b

Please sign in to comment.