From f1240ef79a460c82aa4d8844515fedd703200f26 Mon Sep 17 00:00:00 2001 From: mehmet-erim Date: Tue, 11 Aug 2020 10:46:08 +0300 Subject: [PATCH] chore: remove CoreModule from identity-routing.module & organize imports --- .../packages/identity/src/lib/identity-routing.module.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/npm/ng-packs/packages/identity/src/lib/identity-routing.module.ts b/npm/ng-packs/packages/identity/src/lib/identity-routing.module.ts index f7d5463fcd..27986ae0d7 100644 --- a/npm/ng-packs/packages/identity/src/lib/identity-routing.module.ts +++ b/npm/ng-packs/packages/identity/src/lib/identity-routing.module.ts @@ -2,12 +2,11 @@ import { AuthGuard, DynamicLayoutComponent, PermissionGuard, - CoreModule, - ReplaceableRouteContainerComponent, ReplaceableComponents, + ReplaceableRouteContainerComponent, } from '@abp/ng.core'; -import { NgModule, Type } from '@angular/core'; -import { RouterModule, Routes, Router, ActivatedRoute } from '@angular/router'; +import { NgModule } from '@angular/core'; +import { RouterModule, Routes } from '@angular/router'; import { RolesComponent } from './components/roles/roles.component'; import { UsersComponent } from './components/users/users.component'; import { eIdentityComponents } from './enums/components'; @@ -46,7 +45,7 @@ const routes: Routes = [ ]; @NgModule({ - imports: [RouterModule.forChild(routes), CoreModule], + imports: [RouterModule.forChild(routes)], exports: [RouterModule], }) export class IdentityRoutingModule {}