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' ;
2
2
3
3
@Component ( {
4
4
selector : 'app-header' ,
5
5
templateUrl : './header.component.html' ,
6
6
styleUrls : [ './header.component.scss' ]
7
7
} )
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' ;
2
2
3
3
@Component ( {
4
4
selector : 'app-sidebar' ,
5
5
templateUrl : './sidebar.component.html' ,
6
6
styleUrls : [ './sidebar.component.scss' ]
7
7
} )
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