From 0ef524ca9bc015b80659fd371f984ce2c2981ff9 Mon Sep 17 00:00:00 2001 From: Evgeny Lupanov Date: Wed, 25 Mar 2020 20:12:31 +0300 Subject: [PATCH] fix: runtime error --- src/app/themes-screen/starter-routing.module.ts | 3 +-- src/app/themes-screen/starter-screen.component.ts | 10 ---------- src/app/themes-screen/starter.module.ts | 3 +-- 3 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 src/app/themes-screen/starter-screen.component.ts diff --git a/src/app/themes-screen/starter-routing.module.ts b/src/app/themes-screen/starter-routing.module.ts index 17751dda..757f0d93 100644 --- a/src/app/themes-screen/starter-routing.module.ts +++ b/src/app/themes-screen/starter-routing.module.ts @@ -1,6 +1,5 @@ import {NgModule} from '@angular/core'; import {RouterModule, Routes} from '@angular/router'; -import {StarterScreenComponent} from './starter-screen.component'; import {NgxStarterComponent} from './starter.component'; const routes: Routes = [{ @@ -9,7 +8,7 @@ const routes: Routes = [{ children: [ { path: '', - component: StarterScreenComponent, + component: NgxStarterComponent, }, ], }]; diff --git a/src/app/themes-screen/starter-screen.component.ts b/src/app/themes-screen/starter-screen.component.ts deleted file mode 100644 index 67976d28..00000000 --- a/src/app/themes-screen/starter-screen.component.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Component } from '@angular/core'; - -@Component({ - selector: 'ngx-starter-screen', - styleUrls: ['./starter.component.scss'], - templateUrl: './starter.component.html', -}) -export class StarterScreenComponent { - -} diff --git a/src/app/themes-screen/starter.module.ts b/src/app/themes-screen/starter.module.ts index d9020e12..b8f77d90 100644 --- a/src/app/themes-screen/starter.module.ts +++ b/src/app/themes-screen/starter.module.ts @@ -1,5 +1,4 @@ import {NgModule} from '@angular/core'; -import {StarterScreenComponent} from './starter-screen.component'; import {StarterRoutingModule} from './starter-routing.module'; import {NgxStarterComponent} from './starter.component'; import {NbActionsModule, NbButtonModule, NbCardModule, NbIconModule, NbLayoutModule} from '@nebular/theme'; @@ -20,7 +19,7 @@ const NB_MODULES = [ NbActionsModule, ], declarations: [ - StarterScreenComponent, + NgxStarterComponent, NgxStarterComponent, ], })