cleanup: remove logs
This commit is contained in:
@@ -44,12 +44,10 @@ export const currentUserInfo$ = new BehaviorSubject<UserInfo | null>(null)
|
||||
*/
|
||||
export async function initUserInfo() {
|
||||
await updateUserInfo()
|
||||
console.log("updated")
|
||||
|
||||
fb.idToken$.subscribe((token) => {
|
||||
if (token) {
|
||||
updateUserInfo()
|
||||
console.log(token, "updateUserInfo")
|
||||
} else {
|
||||
currentUserInfo$.next(null)
|
||||
}
|
||||
@@ -75,8 +73,6 @@ async function updateUserInfo() {
|
||||
`,
|
||||
})
|
||||
|
||||
console.log(data)
|
||||
|
||||
currentUserInfo$.next({
|
||||
uid: data.me.uid,
|
||||
displayName: data.me.displayName,
|
||||
|
||||
Reference in New Issue
Block a user