razbakov/vca-firebase

firebase not defined when calling signInWithGoogle

Opened this issue · 0 comments

This is a pretty simple fix. On line 72 in auth.js there is this call const provider = new firebase.auth.GoogleAuthProvider() but the problem is that firebase was never imported into the file. It should be imported on line 23 like so const { auth, firebase } = useFirebase().