Skip to content

Commit 52d5c5c

Browse files
committed
Go back to old way
1 parent c302702 commit 52d5c5c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages-exp/auth-compat-exp/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ function registerAuthCompat(instance: _FirebaseNamespace): void {
4242
container => {
4343
// getImmediate for FirebaseApp will always succeed
4444
const app = container.getProvider('app').getImmediate();
45-
const auth = container.getProvider('auth-exp').getImmediate();
46-
return new Auth(app, auth as impl.AuthImpl);
45+
return new Auth(app);
4746
},
4847
ComponentType.PUBLIC
4948
)
@@ -82,5 +81,4 @@ function registerAuthCompat(instance: _FirebaseNamespace): void {
8281
instance.registerVersion('auth', version);
8382
}
8483

85-
impl.registerAuth(_getClientPlatform());
8684
registerAuthCompat(firebase as _FirebaseNamespace);

0 commit comments

Comments
 (0)