This commit is contained in:
Willian Mitsuda 2021-09-11 19:30:19 -03:00
parent 08ae32ad91
commit 303458e431
1 changed files with 3 additions and 1 deletions

View File

@ -165,7 +165,9 @@ const Block: React.FC = () => {
<InfoRow title="Ether Price"> <InfoRow title="Ether Price">
<USDValue value={blockETHUSDPrice} /> <USDValue value={blockETHUSDPrice} />
</InfoRow> </InfoRow>
<InfoRow title="Difficult">{commify(block.difficulty)}</InfoRow> <InfoRow title="Difficult">
{block.difficulty ? commify(block.difficulty) : "?"}
</InfoRow>
<InfoRow title="Total Difficult"> <InfoRow title="Total Difficult">
{commify(block.totalDifficulty.toString())} {commify(block.totalDifficulty.toString())}
</InfoRow> </InfoRow>