From fcf857209f91ef714eae6a16ffe4025ef525c201 Mon Sep 17 00:00:00 2001 From: piyush132000 Date: Fri, 25 Nov 2022 09:43:46 +0530 Subject: [PATCH] docs: removed empty methods (#48230) I removed empty methods from a file and unnecessary import PR Close #48230 --- .../customer-dashboard/customer-dashboard.component.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/aio/content/examples/feature-modules/src/app/customer-dashboard/customer-dashboard/customer-dashboard.component.ts b/aio/content/examples/feature-modules/src/app/customer-dashboard/customer-dashboard/customer-dashboard.component.ts index b4dcf2e8fe5..f5d776a6139 100644 --- a/aio/content/examples/feature-modules/src/app/customer-dashboard/customer-dashboard/customer-dashboard.component.ts +++ b/aio/content/examples/feature-modules/src/app/customer-dashboard/customer-dashboard/customer-dashboard.component.ts @@ -1,15 +1,10 @@ -import { Component, OnInit } from '@angular/core'; +import { Component } from '@angular/core'; @Component({ selector: 'app-customer-dashboard', templateUrl: './customer-dashboard.component.html', styleUrls: ['./customer-dashboard.component.css'] }) -export class CustomerDashboardComponent implements OnInit { - - constructor() { } - - ngOnInit() { - } +export class CustomerDashboardComponent { }