Skip to content

Commit

Permalink
fix: remove duplicated coordinateurs provider from coordinateurs web …
Browse files Browse the repository at this point in the history
…component (#492)
  • Loading branch information
marc-gavanier committed Feb 26, 2024
1 parent 26a1a2f commit 2d51905
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { DoBootstrap, Injector, NgModule } from '@angular/core';
import { createCustomElement } from '@angular/elements';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { ASSETS_CONFIGURATION, ASSETS_TOKEN, mediationNumeriqueProviders } from '../../../../../root';
import { SkipLinkModule } from '../../../../core';
import { CartographieWebComponentLayout } from '../../../layouts';
Expand All @@ -10,7 +10,7 @@ import { CartographieWebComponentRoutingModule } from './cartographie.web-compon

@NgModule({
declarations: [CartographieWebComponentLayout],
imports: [BrowserModule, CartographieCommonModule, CartographieWebComponentRoutingModule, SkipLinkModule.forRoot()],
imports: [BrowserAnimationsModule, CartographieCommonModule, CartographieWebComponentRoutingModule, SkipLinkModule.forRoot()],
providers: [
...cartographieProviders,
...mediationNumeriqueProviders,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { createCustomElement } from '@angular/elements';
import { ASSETS_CONFIGURATION, ASSETS_TOKEN } from '../../../../../root';
import { SkipLinkModule } from '../../../../core';
import { CoordinateursWebComponentLayout } from '../../../layouts';
import { coordinateursProviders } from '../../common';
import { CoordinateursCommonModule } from '../../common/coordinateurs.common.module';
import { CoordinateursWebComponentRoutingModule } from './coordinateurs.web-component-routing.module';

Expand All @@ -17,7 +16,6 @@ import { CoordinateursWebComponentRoutingModule } from './coordinateurs.web-comp
SkipLinkModule.forRoot()
],
providers: [
...coordinateursProviders,
{
provide: ASSETS_TOKEN,
useValue: ASSETS_CONFIGURATION
Expand Down

0 comments on commit 2d51905

Please sign in to comment.