From b2e60a268ee6792564c74f92163c4da4e81b2b88 Mon Sep 17 00:00:00 2001 From: Alexandre Caron Date: Wed, 12 Feb 2025 16:00:06 -0500 Subject: [PATCH] refactor: clean up imports --- src/app/app.component.ts | 21 +++++++++---------- .../expansion-panel-button.component.ts | 13 ++++++------ 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 766233d2f..ebfc4dbcf 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -9,7 +9,7 @@ import { SpinnerActivityDirective, SpinnerComponent } from '@igo2/common/spinner'; -import { StopPropagationDirective } from '@igo2/common/stop-propagation'; + import { ConfigService } from '@igo2/core/config'; import { LanguageService } from '@igo2/core/language'; import { MessageService } from '@igo2/core/message'; @@ -28,16 +28,15 @@ import { PwaService } from './services/pwa.service'; templateUrl: './app.component.html', styleUrls: ['./app.component.scss'], imports: [ - SpinnerComponent, - SpinnerActivityDirective, - HeaderComponent, - FooterComponent, - StopPropagationDirective, - NgIf, - AuthFormComponent, - PortalComponent, - NgClass - ] + SpinnerComponent, + SpinnerActivityDirective, + HeaderComponent, + FooterComponent, + NgIf, + AuthFormComponent, + PortalComponent, + NgClass +] }) export class AppComponent implements OnInit { public authConfig: AuthOptions; diff --git a/src/app/pages/portal/expansion-panel/expansion-panel-button/expansion-panel-button.component.ts b/src/app/pages/portal/expansion-panel/expansion-panel-button/expansion-panel-button.component.ts index a41dc7e8d..8dc47e044 100644 --- a/src/app/pages/portal/expansion-panel/expansion-panel-button/expansion-panel-button.component.ts +++ b/src/app/pages/portal/expansion-panel/expansion-panel-button/expansion-panel-button.component.ts @@ -1,4 +1,4 @@ -import { NgIf } from '@angular/common'; + import { Component, EventEmitter, Input, Output } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; @@ -9,12 +9,11 @@ import { IgoLanguageModule } from '@igo2/core/language'; @Component({ selector: 'app-expansion-panel-button', imports: [ - MatButtonModule, - MatIconModule, - MatTooltipModule, - IgoLanguageModule, - NgIf - ], + MatButtonModule, + MatIconModule, + MatTooltipModule, + IgoLanguageModule +], templateUrl: './expansion-panel-button.component.html', styleUrls: ['./expansion-panel-button.component.scss'] })