Skip to content

Commit

Permalink
Update home.page.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
DuduVerderio committed Sep 30, 2023
1 parent 9024930 commit beff468
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/app/home/home.page.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Component, NgZone } from '@angular/core';
import { Component } from '@angular/core';

@Component({
selector: 'app-home',
Expand All @@ -11,10 +11,10 @@ export class HomePage {
precoGasolina = ""
public resultado: String = ""

constructor(private ngZone: NgZone) {}
constructor() {}

ngOnInit(){
this.resultado = ""

}

calcular(){
Expand All @@ -35,8 +35,6 @@ export class HomePage {
else{
this.resultado = "Os campos não foram preenchidos corretamente"
}

this.ngZone.run(() => {});
}

}

0 comments on commit beff468

Please sign in to comment.