Skip to content

Commit

Permalink
fix: remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
Romsters committed Dec 22, 2023
1 parent 41b1ec7 commit d7b1f08
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/app/src/components/IndexerDelayAlert.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ const indexerDelay = computed(() => {
const indexerDelayInHours = computed(() => (indexerDelay.value / (1000 * 60 * 60)).toFixed(1));
const isIndexerDelayed = computed(() => {
if (!latestBlock.value?.number || !latestIndexedBlocks.value?.length) {
return false;
}
if (indexerDelay.value > MIN_DELAY_TO_SHOW_ALERT) {
return true;
}
Expand Down

0 comments on commit d7b1f08

Please sign in to comment.