File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
packages-exp/auth-exp/src/core/auth Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -35,16 +35,14 @@ export const DEFAULT_API_SCHEME = 'https';
35
35
36
36
class AuthImpl implements Auth {
37
37
currentUser : User | null = null ;
38
- private operations : Promise < void > ;
38
+ private operations = Promise . resolve ( ) ;
39
39
private persistenceManager ?: PersistenceUserManager ;
40
40
41
41
constructor (
42
42
public readonly name : string ,
43
43
public readonly config : Config ,
44
44
persistenceHierarchy : Persistence [ ]
45
45
) {
46
- this . operations = Promise . resolve ( ) ;
47
-
48
46
// This promise is intended to float; auth initialization happens in the
49
47
// background, meanwhile the auth object may be used by the app.
50
48
// eslint-disable-next-line @typescript-eslint/no-floating-promises
You can’t perform that action at this time.
0 commit comments