Fix merge conflicts

This commit is contained in:
Mononaut committed 2023-07-13 11:06:02 +09:00
1 parent 886a099a2f
commit 1e69ea2f1d
3 files changed
+9 -16

No files matched your search

@@ -82,12 +82,12 @@ export class BlocksList implements OnInit {
),
this.stateService.blocks$
.pipe(
switchMap((block) => {
if (block[0].height <= this.lastBlockHeight) {
switchMap((blocks) => {
if (blocks[0].height <= this.lastBlockHeight) {
return [null]; // Return an empty stream so the last pipe is not executed
}
this.lastBlockHeight = block[0].height;
return [block];
this.lastBlockHeight = blocks[0].height;
return blocks;
})
)
])