mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-25 07:52:52 +03:00
fix: cancel identify user wait
This commit is contained in:
parent
2e549d0a97
commit
d0bb43c855
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user