fix: cancel identify user wait

This commit is contained in:
lawvs 2022-08-01 17:51:56 +08:00 committed by Whitewater
parent 2e549d0a97
commit d0bb43c855

View File

@ -35,7 +35,7 @@ const _useUserAndSpace = () => {
onAuthStateChanged(auth, async fbuser => { onAuthStateChanged(auth, async fbuser => {
if (fbuser) { if (fbuser) {
const user = _fromFirebaseUser(fbuser); const user = _fromFirebaseUser(fbuser);
await identifyUser({ identifyUser({
userName: user.nickname, userName: user.nickname,
id: user.id, id: user.id,
email: user.email, email: user.email,