Add debug console.log
This commit is contained in:
parent
346d24868e
commit
4af5ed4bd4
|
@ -48,6 +48,7 @@ export function AuthProvider(props: {
|
|||
|
||||
useEffect(() => {
|
||||
return onIdTokenChanged(auth, async (fbUser) => {
|
||||
console.log('onIdTokenChanged', fbUser)
|
||||
if (fbUser) {
|
||||
setTokenCookies({
|
||||
id: await fbUser.getIdToken(),
|
||||
|
|
Loading…
Reference in New Issue
Block a user