Skip to content

Commit a8cdd9d

Browse files
committed
chore(angular): removed optional catch for firebase
1 parent ec28238 commit a8cdd9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/angular/src/lib/provider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function provideFirebaseUI(uiFactory: (apps: FirebaseApps) => FirebaseUIT
4646
useFactory: () => {
4747
try {
4848
// 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);
5050
if (!apps || apps.length === 0) {
5151
return null as any;
5252
}
@@ -73,7 +73,7 @@ export function provideFirebaseUIPolicies(factory: () => PolicyConfig) {
7373
providedIn: "root",
7474
})
7575
export class FirebaseUI {
76-
private store = inject(FIREBASE_UI_STORE, { optional: true });
76+
private store = inject(FIREBASE_UI_STORE);
7777
private destroyed$: ReplaySubject<void> = new ReplaySubject(1);
7878

7979
config() {

0 commit comments

Comments
 (0)