Skip to content

Commit 8275675

Browse files
committed
beforeAuthStateChanged should not block
1 parent a184f69 commit 8275675

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/auth/firebase.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/build.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ ${exportedZoneWrappedFns}
7575
browserSessionPersistence: null,
7676
indexedDBLocalPersistence: null,
7777
prodErrorMap: null,
78+
beforeAuthStateChanged: { blockUntilFirst: false },
7879
}),
7980
reexport('database', 'rxfire', 'rxfire/database', tsKeys<typeof import('rxfire/database')>()),
8081
reexport('database', 'firebase', 'firebase/database', tsKeys<typeof import('firebase/database')>()),

0 commit comments

Comments
 (0)