Merge branch 'main' of https://github.com/hoppscotch/hoppscotch
This commit is contained in:
commit
3e7a766d12
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ export const currentUserInfo$ = new BehaviorSubject<UserInfo | null>(null)
|
|||
* Initializes the currenUserInfo$ view and sets up its update mechanism
|
||||
*/
|
||||
export async function initUserInfo() {
|
||||
await updateUserInfo()
|
||||
if (fb.idToken) await updateUserInfo()
|
||||
|
||||
fb.idToken$.subscribe((token) => {
|
||||
if (token) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue