mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 06:16:01 +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