Add debug console.log

This commit is contained in:
James Grugett 2022-08-25 17:21:51 -05:00
parent 91bb4dfab2
commit 7773234138

View File

@ -47,6 +47,7 @@ export function AuthProvider(props: {
useEffect(() => { useEffect(() => {
return onIdTokenChanged(auth, async (fbUser) => { return onIdTokenChanged(auth, async (fbUser) => {
console.log('onIdTokenChanged', fbUser)
if (fbUser) { if (fbUser) {
setTokenCookies({ setTokenCookies({
id: await fbUser.getIdToken(), id: await fbUser.getIdToken(),