File tree Expand file tree Collapse file tree 2 files changed +4
-18
lines changed
Expand file tree Collapse file tree 2 files changed +4
-18
lines changed Original file line number Diff line number Diff line change 1- import { Component , OnInit } from '@angular/core' ;
1+ import { Component } from '@angular/core' ;
22
33@Component ( {
44 selector : 'app-header' ,
55 templateUrl : './header.component.html' ,
66 styleUrls : [ './header.component.scss' ]
77} )
8- export class HeaderComponent implements OnInit {
9-
10- constructor ( ) { }
11-
12- ngOnInit ( ) : void {
13- }
14-
15- }
8+ export class HeaderComponent { }
Original file line number Diff line number Diff line change 1- import { Component , OnInit } from '@angular/core' ;
1+ import { Component } from '@angular/core' ;
22
33@Component ( {
44 selector : 'app-sidebar' ,
55 templateUrl : './sidebar.component.html' ,
66 styleUrls : [ './sidebar.component.scss' ]
77} )
8- export class SidebarComponent implements OnInit {
9-
10- constructor ( ) { }
11-
12- ngOnInit ( ) : void {
13- }
14-
15- }
8+ export class SidebarComponent { }
You can’t perform that action at this time.
0 commit comments