Skip to content

Commit bf6c26f

Browse files
committed
fix(igx-ts-legacy): update error routing module
1 parent 6cb175a commit bf6c26f

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

packages/igx-templates/igx-ts-legacy/projects/_base/files/src/app/app-module.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,10 @@ import { BrowserModule, HammerModule } from '@angular/platform-browser';
33
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
44
import { AppRoutingModule } from './app-routing.module';
55
import { App } from './app';
6-
import { NotFound } from './error-routing/not-found/not-found';
7-
import { UncaughtError } from './error-routing/error/uncaught-error';
86

97
@NgModule({
108
declarations: [
11-
App,
12-
NotFound,
13-
UncaughtError
9+
App
1410
],
1511
imports: [
1612
BrowserModule,

packages/igx-templates/igx-ts-legacy/projects/_base/files/src/app/error-routing/error-routing.module.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { ErrorHandler, NgModule, Provider } from '@angular/core';
22
import { environment } from '../../environments/environment';
33
import { GlobalErrorHandlerService } from './error/global-error-handler.service';
4-
import { UncaughtErrorComponent } from './error/uncaught-error.component';
5-
import { PageNotFoundComponent } from './not-found/not-found.component';
4+
import { UncaughtError } from './error/uncaught-error';
5+
import { NotFound } from './not-found/not-found';
66

77
const providers: Provider[] = [];
88

@@ -13,8 +13,8 @@ if (environment.production) {
1313

1414
@NgModule({
1515
declarations: [
16-
PageNotFoundComponent,
17-
UncaughtErrorComponent
16+
NotFound,
17+
UncaughtError
1818
],
1919
providers
2020
})

0 commit comments

Comments
 (0)