Fix rendering of argument on deployment

This commit is contained in:
Anthony Laibe 2018-10-16 09:26:35 +01:00 committed by Pascal Precht
parent 2453d686eb
commit 3c563ae317
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D

View File

@ -23,7 +23,7 @@ const Contract = ({contract}) => (
{contract.address && {contract.address &&
<React.Fragment> <React.Fragment>
<h5>{contract.className} deployed at {contract.address}</h5> <h5>{contract.className} deployed at {contract.address}</h5>
<p><strong>Arguments:</strong> {contract.args}</p> <p><strong>Arguments:</strong> {JSON.stringify(contract.args)}</p>
</React.Fragment> </React.Fragment>
} }
{!contract.address && {!contract.address &&