8000 Update auth.md change user$ = user(auth); to user$ = user(this.auth); by arolleaguekeng · Pull Request #3640 · angular/angularfire · GitHub
[go: up one dir, main page]

Skip to content

Conversation

arolleaguekeng
Copy link

Checklist

Description

This PR fixes an issue in the AngularFire documentation where the auth instance was incorrectly referenced as user(auth), instead of using the injected instance (this.auth).

Description

Code sample

This PR fixes an issue in the AngularFire documentation where the auth instance is incorrectly referenced in user(auth). The correct approach is to use the injected auth instance (this.auth) instead. The updated code ensures proper dependency injection and aligns with best practices in Angular.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0