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