fix lint warnings
This commit is contained in:
parent
263933efcd
commit
9f3a5d2bc8
@ -4,10 +4,10 @@ import { TransactionComponent } from './transaction';
|
|||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
TransactionComponent,
|
TransactionComponent
|
||||||
],
|
],
|
||||||
imports: [
|
imports: [
|
||||||
IonicModule,
|
IonicModule
|
||||||
],
|
],
|
||||||
exports: [
|
exports: [
|
||||||
TransactionComponent
|
TransactionComponent
|
||||||
|
|||||||
@ -14,7 +14,7 @@ import { Http } from '@angular/http';
|
|||||||
})
|
})
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'page-transaction',
|
selector: 'page-transaction',
|
||||||
templateUrl: 'transaction.html',
|
templateUrl: 'transaction.html'
|
||||||
})
|
})
|
||||||
export class TransactionPage {
|
export class TransactionPage {
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ export class TransactionPage {
|
|||||||
this.txId = navParams.get('txId');
|
this.txId = navParams.get('txId');
|
||||||
}
|
}
|
||||||
|
|
||||||
ionViewDidLoad() {
|
public ionViewDidLoad(): void {
|
||||||
let apiPrefix: string = 'http://localhost:3001/insight-api/';
|
let apiPrefix: string = 'http://localhost:3001/insight-api/';
|
||||||
|
|
||||||
this.http.get(apiPrefix + 'tx/' + this.txId).subscribe(
|
this.http.get(apiPrefix + 'tx/' + this.txId).subscribe(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user