Skip to content

Commit

Permalink
Removes doCheck from component
Browse files Browse the repository at this point in the history
  • Loading branch information
Enngage committed May 15, 2019
1 parent 720ac9b commit 92af59a
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { PayPalScriptService } from '../services/paypal-script.service';
<div #payPalButtonContainer [id]="payPalButtonContainerId"></div>
`
})
export class NgxPaypalComponent implements OnChanges, OnDestroy, AfterViewInit, DoCheck {
export class NgxPaypalComponent implements OnChanges, OnDestroy, AfterViewInit {

/**
* Configuration for paypal.
Expand Down Expand Up @@ -116,10 +116,6 @@ export class NgxPaypalComponent implements OnChanges, OnDestroy, AfterViewInit,
this.doPayPalCheck();
}

ngDoCheck() {
console.log('ngDoCheck has been called!');
}

customInit(payPal: any): void {
this.payPal = payPal;
this.doPayPalCheck();
Expand Down

0 comments on commit 92af59a

Please sign in to comment.