Skip to content

Commit

Permalink
fix: add effectsModule
Browse files Browse the repository at this point in the history
  • Loading branch information
f-necas committed Jul 16, 2024
1 parent 1bf9de8 commit 6044c75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/datafeeder/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import { MatIconModule } from '@angular/material/icon'
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'
import { DatasetValidationCsvPageComponent } from './presentation/pages/dataset-validation-csv-page/dataset-validation-csv-page'
import { UtilSharedModule } from '@geonetwork-ui/util/shared'
import {EffectsModule} from "@ngrx/effects";

export function apiConfigurationFactory() {
return new Configuration({
Expand Down Expand Up @@ -88,6 +89,7 @@ export function apiConfigurationFactory() {
[DATAFEEDER_STATE_KEY]: reducer,
}),
!environment.production ? StoreDevtoolsModule.instrument() : [],
EffectsModule.forRoot()
],
providers: [importProvidersFrom(FeatureAuthModule)],
bootstrap: [AppComponent],
Expand Down

0 comments on commit 6044c75

Please sign in to comment.