File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export function provideFirebaseUI(uiFactory: (apps: FirebaseApps) => FirebaseUIT
46
46
useFactory : ( ) => {
47
47
try {
48
48
// Try to get FirebaseApps, but handle the case where it's not available (SSR)
49
- const apps = inject ( FirebaseApps , { optional : true } ) ;
49
+ const apps = inject ( FirebaseApps ) ;
50
50
if ( ! apps || apps . length === 0 ) {
51
51
return null as any ;
52
52
}
@@ -73,7 +73,7 @@ export function provideFirebaseUIPolicies(factory: () => PolicyConfig) {
73
73
providedIn : "root" ,
74
74
} )
75
75
export class FirebaseUI {
76
- private store = inject ( FIREBASE_UI_STORE , { optional : true } ) ;
76
+ private store = inject ( FIREBASE_UI_STORE ) ;
77
77
private destroyed$ : ReplaySubject < void > = new ReplaySubject ( 1 ) ;
78
78
79
79
config ( ) {
You can’t perform that action at this time.
0 commit comments