Skip to content

Commit cdb4bb6

Browse files
ChesterCorinjamesdaniels
authored andcommitted
docs(auth-guard): typo (#2170)
Remove duplicate build wording
1 parent 992b158 commit cdb4bb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/auth/router-guards.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const routes: Routes = [
6161
6262
### Compose your own pipes
6363
64-
`AngularFireAuthGuard` pipes are RXJS operators which transform an optional User to a boolean or Array (for redirects). You can build easily build your own to customize behavior further:
64+
`AngularFireAuthGuard` pipes are RXJS operators which transform an optional User to a boolean or Array (for redirects). You can easily build your own to customize behavior further:
6565
6666
```ts
6767
import { map } from 'rxjs/operators';
@@ -99,4 +99,4 @@ const onlyAllowSelf = (next) => map(user => !!user && next.params.userId === use
9999
// Only allow navigation to the route if the user has a custom claim matching :accountId
100100
// { path: 'accounts/:accountId/billing', component: BillingDetailsComponent, ...canActivate(accountAdmin) }
101101
const accountAdmin = (next) => pipe(customClaims, map(claims => claims[`account-${next.params.accountId}-role`] === "admin"));
102-
```
102+
```

0 commit comments

Comments
 (0)