Add fast-forward-to-lastest-block button

This commit is contained in:
Willian Mitsuda 2021-07-03 22:48:38 -03:00
parent 9f146f7100
commit 85fd2dddcb
1 changed files with 10 additions and 0 deletions

View File

@ -129,6 +129,16 @@ const Block: React.FC = () => {
>
<FontAwesomeIcon icon={faChevronRight} />
</NavButton>
<NavButton
blockNum={latestBlockNumber!}
disabled={
latestBlockNumber === undefined ||
block.number >= latestBlockNumber
}
>
<FontAwesomeIcon icon={faChevronRight} />
<FontAwesomeIcon icon={faChevronRight} />
</NavButton>
</div>
</InfoRow>
<InfoRow title="Timestamp">