Skip to content

Commit 4b6639d

Browse files
authored
Fixed typos in docs/auth.md (#3372)
Fixed typos in code of the auth page
1 parent b4c3da8 commit 4b6639d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/auth.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ import { Auth, User, user } from '@angular/fire/auth';
7070
...
7171

7272
export class UserComponent implements OnDestroy {
73-
private auth: Auth = inject(auth);
73+
private auth: Auth = inject(Auth);
7474
user$ = user(auth);
7575
userSubscription: Subscription;
7676
...
@@ -100,7 +100,7 @@ import { Auth, authState } from '@angular/fire/auth';
100100
...
101101

102102
export class UserComponent implements OnDestroy {
103-
private auth: Auth = inject(auth);
103+
private auth: Auth = inject(Auth);
104104
authState$ = authState(auth);
105105
authStateSubscription: Subscription;
106106
...
@@ -129,7 +129,7 @@ import { Auth, idToken } from '@angular/fire/auth';
129129
...
130130

131131
export class UserComponent implements OnDestroy {
132-
private auth: Auth = inject(auth);
132+
private auth: Auth = inject(Auth);
133133
idToken$ = idToken(auth);
134134
idTokenSubscription: Subscription;
135135
...
@@ -148,7 +148,7 @@ export class UserComponent implements OnDestroy {
148148
}
149149
```
150150

151-
## Connecting the the emulator suite
151+
## Connecting the emulator suite
152152

153153
```ts
154154
import { connectAuthEmulator, getAuth, provideAuth } from '@angular/fire/auth';
@@ -162,4 +162,4 @@ import { connectAuthEmulator, getAuth, provideAuth } from '@angular/fire/auth';
162162
}),
163163
]
164164
})
165-
```
165+
```

0 commit comments

Comments
 (0)