mirror of
				https://github.com/avatao-content/frontend-tutorial-framework
				synced 2025-10-31 05:32:56 +00:00 
			
		
		
		
	Remove unused ngOnInit
This commit is contained in:
		| @@ -1,13 +1,10 @@ | |||||||
| import { Component, OnInit } from '@angular/core'; | import { Component } from '@angular/core'; | ||||||
|  |  | ||||||
| @Component({ | @Component({ | ||||||
|   selector: 'app-dashboard', |   selector: 'app-dashboard', | ||||||
|   templateUrl: './dashboard.component.html', |   templateUrl: './dashboard.component.html', | ||||||
|   styleUrls: ['./dashboard.component.scss'] |   styleUrls: ['./dashboard.component.scss'] | ||||||
| }) | }) | ||||||
| export class DashboardComponent implements OnInit { | export class DashboardComponent { | ||||||
|   constructor() {} |   constructor() {} | ||||||
|  |  | ||||||
|   ngOnInit() { |  | ||||||
|   } |  | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user