Fix styling of error message.

feature/default_network_editable
Kevin Serrano 8 years ago
parent 864f8b06f9
commit 5d14925842
No known key found for this signature in database
GPG Key ID: BF999DEFC7371BA1
  1. 3
      ui/app/accounts/import/json.js
  2. 3
      ui/app/accounts/import/private-key.js

@ -60,7 +60,7 @@ JsonImportSubview.prototype.render = function () {
}, },
}, 'Import'), }, 'Import'),
error ? h('span.warning', error) : null, error ? h('span.error', error) : null,
]) ])
) )
} }
@ -95,4 +95,3 @@ JsonImportSubview.prototype.createNewKeychain = function () {
this.props.dispatch(actions.importNewAccount('JSON File', [ fileContents, password ])) this.props.dispatch(actions.importNewAccount('JSON File', [ fileContents, password ]))
} }

@ -48,7 +48,7 @@ PrivateKeyImportView.prototype.render = function () {
}, },
}, 'Import'), }, 'Import'),
error ? h('span.warning', error) : null, error ? h('span.error', error) : null,
]) ])
) )
} }
@ -65,4 +65,3 @@ PrivateKeyImportView.prototype.createNewKeychain = function () {
const privateKey = input.value const privateKey = input.value
this.props.dispatch(actions.importNewAccount('Private Key', [ privateKey ])) this.props.dispatch(actions.importNewAccount('Private Key', [ privateKey ]))
} }

Loading…
Cancel
Save