File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
packages/auth/src/core/auth Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -613,12 +613,18 @@ export class AuthImpl implements AuthInternal, _FirebaseService {
613
613
// The callback needs to be called asynchronously per the spec.
614
614
// eslint-disable-next-line @typescript-eslint/no-floating-promises
615
615
promise . then ( ( ) => {
616
- if ( isUnsubscribed ) { return ; }
616
+ if ( isUnsubscribed ) {
617
+ return ;
618
+ }
617
619
cb ( this . currentUser ) ;
618
620
} ) ;
619
621
620
622
if ( typeof nextOrObserver === 'function' ) {
621
- const unsubscribe = subscription . addObserver ( nextOrObserver , error , completed ) ;
623
+ const unsubscribe = subscription . addObserver (
624
+ nextOrObserver ,
625
+ error ,
626
+ completed
627
+ ) ;
622
628
return ( ) => {
623
629
isUnsubscribed = true ;
624
630
unsubscribe ( ) ;
@@ -628,7 +634,7 @@ export class AuthImpl implements AuthInternal, _FirebaseService {
628
634
return ( ) => {
629
635
isUnsubscribed = true ;
630
636
unsubscribe ( ) ;
631
- }
637
+ } ;
632
638
}
633
639
}
634
640
You can’t perform that action at this time.
0 commit comments