fix error with JSONTree empty at start
This commit is contained in:
parent
feea4c27fc
commit
5fcd1e679d
|
@ -42,7 +42,7 @@ const Contract = ({contract, match}) => {
|
||||||
<Card.Title>ABI</Card.Title>
|
<Card.Title>ABI</Card.Title>
|
||||||
</Card.Header>
|
</Card.Header>
|
||||||
<Card.Body>
|
<Card.Body>
|
||||||
<JSONTree data={contract.abiDefinition} />
|
{contract.abiDefinition && <JSONTree data={contract.abiDefinition} />}
|
||||||
</Card.Body>
|
</Card.Body>
|
||||||
</Card>
|
</Card>
|
||||||
<Card>
|
<Card>
|
||||||
|
|
Loading…
Reference in New Issue