Optimize block visualization rendering

This commit is contained in:
Mononaut
2022-06-14 23:08:18 +00:00
parent 7f4c6352ba
commit 300f5375c8
5 changed files with 108 additions and 54 deletions

View File

@@ -216,7 +216,6 @@ export class BlockComponent implements OnInit, OnDestroy {
return of([]);
}),
switchMap((transactions) => {
console.log('overview loaded: ', prevBlock && prevBlock.height, block.height);
if (prevBlock) {
return of({ transactions, direction: (prevBlock.height < block.height) ? 'right' : 'left' });
} else {