Skip to content

Commit 2a55970

Browse files
committed
feat: Remove unused GitHub and Google auth providers from Firebase setup
1 parent 90de2ba commit 2a55970

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/lib/firebase.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { initializeApp } from 'firebase/app'
2-
import { getAuth, GithubAuthProvider, GoogleAuthProvider } from 'firebase/auth'
2+
import { getAuth } from 'firebase/auth'
33
import { FIREBASE_API_KEY } from 'src/config'
44

55
const firebaseConfig = {
@@ -12,7 +12,4 @@ if (!FIREBASE_API_KEY) {
1212
// Initialize Firebase
1313
const app = initializeApp(firebaseConfig)
1414
const firebaseAuth = getAuth(app)
15-
const googleAuthProvider = new GoogleAuthProvider()
16-
const githubAuthProvider = new GithubAuthProvider()
17-
18-
export { firebaseAuth, githubAuthProvider, googleAuthProvider }
15+
export { firebaseAuth }

0 commit comments

Comments
 (0)