diff options
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/pages/add-token/add-token.component.js | 2 | ||||
-rw-r--r-- | ui/app/components/pages/create-account/import-account/json.js | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/ui/app/components/pages/add-token/add-token.component.js b/ui/app/components/pages/add-token/add-token.component.js index e860d33bc..198889cf2 100644 --- a/ui/app/components/pages/add-token/add-token.component.js +++ b/ui/app/components/pages/add-token/add-token.component.js @@ -233,7 +233,7 @@ class AddToken extends Component { <div className="add-token__custom-token-form"> <TextField id="custom-address" - label={this.context.t('tokenAddress')} + label={this.context.t('tokenContractAddress')} type="text" value={customAddress} onChange={e => this.handleCustomAddressChange(e.target.value)} diff --git a/ui/app/components/pages/create-account/import-account/json.js b/ui/app/components/pages/create-account/import-account/json.js index bb6771e4d..8bb6e154b 100644 --- a/ui/app/components/pages/create-account/import-account/json.js +++ b/ui/app/components/pages/create-account/import-account/json.js @@ -104,11 +104,6 @@ class JsonImportSubview extends Component { const passwordInput = document.getElementById('json-password-box') const password = passwordInput.value - if (!password) { - const message = this.context.t('needImportPassword') - return displayWarning(message) - } - importNewJsonAccount([ fileContents, password ]) .then(({ selectedAddress }) => { if (selectedAddress) { |