Last active
March 29, 2021 13:23
-
-
Save zackbraksa/64b36f28aeb796e8ea83da3da9607bf6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
await auth().signInWithPopup(provider); | |
const user = await auth().currentUser; | |
setUser(user); | |
} catch(e) {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment