added OnInit
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-list',
|
||||
templateUrl: './list.component.html',
|
||||
styleUrls: ['./list.component.css']
|
||||
})
|
||||
export class ListComponent {
|
||||
|
||||
export class ListComponent implements OnInit {
|
||||
ngOnInit(): void {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user