I encountered an error when I used your services/firebase.ts template...
services/firebase.ts
export const googleAuth = firebase.auth.GoogleAuthProvider()
should be:
export const googleAuth = new firebase.auth.GoogleAuthProvider()
according to this: stackoverflow.com/questions/519181... ...and indeed, your own code: github.com/arnu515/serverless-chat...
Ah yeah! Thanks! I'm gonna change it
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I encountered an error when I used your
services/firebase.ts
template...should be:
according to this:
stackoverflow.com/questions/519181...
...and indeed, your own code:
github.com/arnu515/serverless-chat...
Ah yeah! Thanks! I'm gonna change it