This repository was archived by the owner on Apr 4, 2023. It is now read-only.
Commit 5e0ddd4
committed
[auth] - Replicate web onAuthChanged() behavior by immediately calling the callback handler with the currentUser
Previously the callback handler would be called only when we have an auth state update, but the web api's
behavior is to call the handler once onAuthChanged() is attached. The initial value would then be undefined
if the user was never logged in.1 parent 67a8f98 commit 5e0ddd4
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | | - | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
0 commit comments