diff --git a/src/main.ts b/src/main.ts index ce1c610..9660ff3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,5 +1,5 @@ import { bootstrapApplication } from '@angular/platform-browser'; -import { enableProdMode, importProvidersFrom } from '@angular/core'; +import { enableProdMode, importProvidersFrom, provideZoneChangeDetection } from '@angular/core'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { AngularFireModule } from '@angular/fire/compat'; @@ -28,7 +28,7 @@ if (getApps().length === 0) { bootstrapApplication(AppComponent, { providers: [ - importProvidersFrom( + provideZoneChangeDetection(),importProvidersFrom( BrowserAnimationsModule, FormsModule, ReactiveFormsModule,