mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-18 18:26:50 +00:00
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.Header>
|
||||
<Card.Body>
|
||||
<JSONTree data={contract.abiDefinition} />
|
||||
{contract.abiDefinition && <JSONTree data={contract.abiDefinition} />}
|
||||
</Card.Body>
|
||||
</Card>
|
||||
<Card>
|
||||
|
Loading…
x
Reference in New Issue
Block a user