Add fast-forward-to-lastest-block button
This commit is contained in:
parent
9f146f7100
commit
85fd2dddcb
|
@ -129,6 +129,16 @@ const Block: React.FC = () => {
|
||||||
>
|
>
|
||||||
<FontAwesomeIcon icon={faChevronRight} />
|
<FontAwesomeIcon icon={faChevronRight} />
|
||||||
</NavButton>
|
</NavButton>
|
||||||
|
<NavButton
|
||||||
|
blockNum={latestBlockNumber!}
|
||||||
|
disabled={
|
||||||
|
latestBlockNumber === undefined ||
|
||||||
|
block.number >= latestBlockNumber
|
||||||
|
}
|
||||||
|
>
|
||||||
|
<FontAwesomeIcon icon={faChevronRight} />
|
||||||
|
<FontAwesomeIcon icon={faChevronRight} />
|
||||||
|
</NavButton>
|
||||||
</div>
|
</div>
|
||||||
</InfoRow>
|
</InfoRow>
|
||||||
<InfoRow title="Timestamp">
|
<InfoRow title="Timestamp">
|
||||||
|
|
Loading…
Reference in New Issue