From 6d9f220f659fcf074f77db3debac5c9870c0615b Mon Sep 17 00:00:00 2001
From: Hugo SUBTIL <ext.sopra.husubtil@grandlyon.com>
Date: Mon, 14 Dec 2020 11:57:55 +0100
Subject: [PATCH] fix: module import

---
 src/app/app.module.ts           | 14 +-------------
 src/app/shared/shared.module.ts |  3 ++-
 2 files changed, 3 insertions(+), 14 deletions(-)

diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index c5162db74..799d3b558 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -1,7 +1,6 @@
 import { LOCALE_ID, NgModule } from '@angular/core';
 import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
 import { BrowserModule } from '@angular/platform-browser';
-import { FlexLayoutModule } from '@angular/flex-layout';
 
 import { AppRoutingModule } from './app-routing.module';
 
@@ -14,7 +13,6 @@ import { SharedModule } from './shared/shared.module';
 import { MapModule } from './map/map.module';
 import { StructureListComponent } from './structure-list/structure-list.component';
 import { CardComponent } from './structure-list/components/card/card.component';
-import { FormsModule, ReactiveFormsModule } from '@angular/forms';
 import { SearchComponent } from './structure-list/components/search/search.component';
 import { StructureDetailsComponent } from './structure-list/components/structure-details/structure-details.component';
 import { StructureOpeningStatusComponent } from './structure-list/components/structure-opening-status/structure-opening-status.component';
@@ -44,17 +42,7 @@ import { ProfileModule } from './profile/profile.module';
     MenuPhoneComponent,
     UserVerificationComponent,
   ],
-  imports: [
-    BrowserModule,
-    HttpClientModule,
-    AppRoutingModule,
-    FlexLayoutModule,
-    SharedModule,
-    MapModule,
-    FormsModule,
-    ReactiveFormsModule,
-    ProfileModule,
-  ],
+  imports: [BrowserModule, HttpClientModule, AppRoutingModule, SharedModule, MapModule, ProfileModule],
   providers: [
     { provide: LOCALE_ID, useValue: 'fr' },
     { provide: HTTP_INTERCEPTORS, useClass: CustomHttpInterceptor, multi: true },
diff --git a/src/app/shared/shared.module.ts b/src/app/shared/shared.module.ts
index 8bc1231da..7a91eef73 100644
--- a/src/app/shared/shared.module.ts
+++ b/src/app/shared/shared.module.ts
@@ -1,6 +1,6 @@
 import { NgModule } from '@angular/core';
 import { CommonModule } from '@angular/common';
-import { ReactiveFormsModule } from '@angular/forms';
+import { FormsModule, ReactiveFormsModule } from '@angular/forms';
 import { RouterModule } from '@angular/router';
 import { FlexLayoutModule } from '@angular/flex-layout';
 import { SharedComponents } from './components';
@@ -17,6 +17,7 @@ import { SvgIconComponent } from './components/svg-icon/svg-icon.component';
     CommonModule,
     RouterModule,
     FlexLayoutModule,
+    FormsModule,
     ReactiveFormsModule,
   ],
 })
-- 
GitLab