Providers fix

This commit is contained in:
softsimon 2025-03-12 21:32:38 +07:00
parent 50540a5ba4
commit 2918fe0fe4
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

View File

@ -58,13 +58,24 @@ const providers = [
{ provide: ZONE_SERVICE, useClass: ZoneService },
];
@NgModule({ declarations: [
AppComponent,
],
bootstrap: [AppComponent], imports: [BrowserModule,
AppRoutingModule,
BrowserAnimationsModule,
SharedModule], providers: [provideHttpClient(withInterceptorsFromDi())] })
@NgModule({
declarations: [
AppComponent,
],
bootstrap: [
AppComponent
],
imports: [
BrowserModule,
AppRoutingModule,
BrowserAnimationsModule,
SharedModule
],
providers: [
provideHttpClient(withInterceptorsFromDi()),
...providers
]
})
export class AppModule { }
@NgModule({})