Add debug console.log

This commit is contained in:
James Grugett 2022-08-25 17:21:51 -05:00 committed by mantikoros
parent 346d24868e
commit 4af5ed4bd4

View File

@ -48,6 +48,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(),