angular / angular/angularfire

Broken imports in route guards documentation examples

Open
#3,622 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
7.8k
Forks
2.2k
Avg merge
22h 28m
Merged PRs (30d)
6

Description

The examples in [route-guards.md](https://github.com/angular/angularfire/blob/main/site/src/auth/route-guards.md) use the wrong import for the `AuthGuard`. It should be `import { AuthGuard }` instead of `import { AngularFireAuthGuard }`.

Contributor guide

Open the contributing guide

Research direction

Open site/src/auth/route-guards.md and inspect the route guard examples and their imports. Replace the incorrect AuthGuard import shown in the examples, then verify that the documentation consistently uses AuthGuard rather than AngularFireAuthGuard.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, firebase, typescript
Domain
authentication, documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.