Closed raselmahmud-coder closed 2 years ago
I have been trying this code when a user wants to log in, but it always gives google users undefined after logging in.
const [signInWithGoogle, googleUser, googleLoading, googleError] = useSignInWithGoogle(auth);
you can try console.log(googleUser).
I have been trying this code when a user wants to log in, but it always gives google users undefined after logging in.
const [signInWithGoogle, googleUser, googleLoading, googleError] = useSignInWithGoogle(auth);
you can try console.log(googleUser).