Add comments
This commit is contained in:
@@ -50,6 +50,8 @@ const ELEMENT_DATA: PeriodicElement[] = [
|
||||
export class DashboardComponent implements OnInit {
|
||||
constructor(private dataService: DataService) {}
|
||||
|
||||
//TODO avoid using ngOnInit() like this
|
||||
//TODO fix server problems
|
||||
async ngOnInit() {
|
||||
const data = await this.dataService.getStockData();
|
||||
}
|
||||
|
Reference in New Issue
Block a user