mempool/frontend/src/app/about/about.component.ts

20 lines
424 B
TypeScript
Raw Normal View History

2019-07-21 16:59:47 +02:00
import { Component, OnInit } from '@angular/core';
import { ApiService } from '../services/api.service';
2019-07-21 16:59:47 +02:00
@Component({
selector: 'app-about',
templateUrl: './about.component.html',
styleUrls: ['./about.component.scss']
})
export class AboutComponent implements OnInit {
constructor(
private apiService: ApiService,
) { }
2019-07-21 16:59:47 +02:00
ngOnInit() {
this.apiService.sendWebSocket({'action': 'want', data: []});
2019-07-21 16:59:47 +02:00
}
}