Skip to content

Commit

Permalink
remove last block navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
deuch13 committed May 23, 2024
1 parent 3f50beb commit cbfe858
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions explorer/src/lib/components/block-details/BlockDetails.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,12 @@
<Icon path={mdiArrowLeft} />
</AppAnchor>
{formatter(data.header.height)}
{#if data.header.nextblockhash}
<AppAnchor
className="block-details__list-anchor"
href="/blocks/block?id={data.header.nextblockhash}"
>
<Icon path={mdiArrowRight} />
</AppAnchor>
{/if}
<AppAnchor
className="block-details__list-anchor"
href="/blocks/block?id={data.header.nextblockhash}"
>
<Icon path={mdiArrowRight} />
</AppAnchor>
</svelte:fragment>
</ListItem>

Expand Down

0 comments on commit cbfe858

Please sign in to comment.