Fix missing whitespace linting. (#534)

This commit is contained in:
Miguel Medeiros 2021-05-21 12:03:18 -03:00 committed by GitHub
parent a4cd6450e3
commit efb5deda43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,9 +76,9 @@ export class TransactionsListComponent implements OnInit, OnChanges {
onScroll() {
const scrollHeight = document.body.scrollHeight;
const scrollTop = document.documentElement.scrollTop;
if(scrollHeight > 0){
if (scrollHeight > 0){
const percentageScrolled = scrollTop * 100 / scrollHeight;
if(percentageScrolled > 90){
if (percentageScrolled > 90){
this.loadMore.emit();
}
}