Skip to content

Commit

Permalink
update typos
Browse files Browse the repository at this point in the history
  • Loading branch information
alisaduncan committed Dec 10, 2024
1 parent 609ae81 commit 60bcdab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ The `authState$` subject in `OktaAuthStateService` contains an `idToken` that co
selector: 'app-profile',
imports: [AsyncPipe],
template: `
<p>You're logged in!
@if(name$ | async; as name) {
<span>Welcome, {{name}} </span>
}
<p>Welcome
@if(name$ | async; as name) {
<span>, {{name}} </span>
}
</p>
`,
styleUrls: ['./profile.component.css']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ The recommended way to add your access token to HTTP calls in Angular is to use

1. Create an [Angular interceptor](https://angular.dev/guide/http/interceptors) called `auth.interceptor`, using the CLI command `ng generate interceptor auth`.

2. Add the following imports into `app.module.ts`:
2. Add the following imports into `app.config.ts`:

```ts
import { provideHttpClient, withInterceptors } from '@angular/common/http';
Expand Down

0 comments on commit 60bcdab

Please sign in to comment.