diff --git a/angularfire-start/src/app/app.config.ts b/angularfire-start/src/app/app.config.ts index 03ce6427b..274fb46d3 100644 --- a/angularfire-start/src/app/app.config.ts +++ b/angularfire-start/src/app/app.config.ts @@ -11,14 +11,12 @@ import { provideRouter } from '@angular/router'; export const appConfig: ApplicationConfig = { providers: [ - importProvidersFrom( - provideFirebaseApp(() => initializeApp(environment.firebase)), - provideFirestore(() => getFirestore()), - provideAuth(() => getAuth()), - provideFunctions(() => getFunctions()), - provideStorage(() => getStorage()), - provideMessaging(() => getMessaging()) - ), - provideRouter(routes) + provideRouter(routes), + provideFirebaseApp(() => initializeApp(environment.firebase)), + provideFirestore(() => getFirestore()), + provideAuth(() => getAuth()), + provideFunctions(() => getFunctions()), + provideStorage(() => getStorage()), + provideMessaging(() => getMessaging()) ], };