diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2017-03-23 04:54:10 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2017-03-23 04:54:10 +0800 |
commit | 5d149258427b25f34dca89e5dfaba57a4f1cb95b (patch) | |
tree | f9e4e13ff4cbf2f120c22ce0a0946cb527ac2de2 /ui | |
parent | 864f8b06f9f2ec56b7ffce0afe83a1d70c3c7843 (diff) | |
download | tangerine-wallet-browser-5d149258427b25f34dca89e5dfaba57a4f1cb95b.tar tangerine-wallet-browser-5d149258427b25f34dca89e5dfaba57a4f1cb95b.tar.gz tangerine-wallet-browser-5d149258427b25f34dca89e5dfaba57a4f1cb95b.tar.bz2 tangerine-wallet-browser-5d149258427b25f34dca89e5dfaba57a4f1cb95b.tar.lz tangerine-wallet-browser-5d149258427b25f34dca89e5dfaba57a4f1cb95b.tar.xz tangerine-wallet-browser-5d149258427b25f34dca89e5dfaba57a4f1cb95b.tar.zst tangerine-wallet-browser-5d149258427b25f34dca89e5dfaba57a4f1cb95b.zip |
Fix styling of error message.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/accounts/import/json.js | 3 | ||||
-rw-r--r-- | ui/app/accounts/import/private-key.js | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/ui/app/accounts/import/json.js b/ui/app/accounts/import/json.js index 1c2b331d4..5ed31ab0a 100644 --- a/ui/app/accounts/import/json.js +++ b/ui/app/accounts/import/json.js @@ -60,7 +60,7 @@ JsonImportSubview.prototype.render = function () { }, }, '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 ])) } - diff --git a/ui/app/accounts/import/private-key.js b/ui/app/accounts/import/private-key.js index b139a0374..68ccee58e 100644 --- a/ui/app/accounts/import/private-key.js +++ b/ui/app/accounts/import/private-key.js @@ -48,7 +48,7 @@ PrivateKeyImportView.prototype.render = function () { }, }, '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 this.props.dispatch(actions.importNewAccount('Private Key', [ privateKey ])) } - |