From 8fc1506c57b86d496dbaa68f71a6694e6854a9ee Mon Sep 17 00:00:00 2001 From: Nicolas Gotchac Date: Fri, 18 Nov 2016 17:54:25 +0100 Subject: [PATCH] ABI can be empty and auto-fill contract name #3511 --- js/src/modals/DeployContract/DetailsStep/detailsStep.js | 6 +++++- js/src/util/validation.js | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/js/src/modals/DeployContract/DetailsStep/detailsStep.js b/js/src/modals/DeployContract/DetailsStep/detailsStep.js index 06b5a85bb..8d0a2457c 100644 --- a/js/src/modals/DeployContract/DetailsStep/detailsStep.js +++ b/js/src/modals/DeployContract/DetailsStep/detailsStep.js @@ -103,7 +103,7 @@ export default class DetailsStep extends Component { label='contract name' hint='a name for the deployed contract' error={ nameError } - value={ name } + value={ name || '' } onChange={ this.onNameChange } />