Skip to content

Commit 826a3c4

Browse files
committed
void promise
1 parent b5a84b0 commit 826a3c4

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

packages/auth/src/core/auth/initialize.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,7 @@ export function initializeAuth(app: FirebaseApp, deps?: Dependencies): Auth {
7373

7474
if (_isFirebaseServerAppImpl(app)) {
7575
if (app.authIdToken !== undefined) {
76-
_loadUserFromIdToken(auth, app.authIdToken)
77-
.catch(err => {
78-
console.log(err);
79-
})
80-
.then(() => {
81-
console.log('ok!');
82-
});
76+
void _loadUserFromIdToken(auth, app.authIdToken);
8377
}
8478
}
8579

0 commit comments

Comments
 (0)