Add debug console.log
This commit is contained in:
parent
91bb4dfab2
commit
7773234138
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user