aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <flyswatter@users.noreply.github.com>2017-03-23 06:43:14 +0800
committerGitHub <noreply@github.com>2017-03-23 06:43:14 +0800
commit5e40ed1ee956b2207b9d84e60939ab2acfb0558a (patch)
tree840ee52c25480980f66d3e3ed4857457b3048f46
parent5b81f7120b3c7c3c3a16246a9d5705fcab4f91b9 (diff)
parent9545ef3ba80b7abeffacb7914bd4232f9a22a5e1 (diff)
downloadtangerine-wallet-browser-5e40ed1ee956b2207b9d84e60939ab2acfb0558a.tar.gz
tangerine-wallet-browser-5e40ed1ee956b2207b9d84e60939ab2acfb0558a.tar.zst
tangerine-wallet-browser-5e40ed1ee956b2207b9d84e60939ab2acfb0558a.zip
Merge pull request #1245 from MetaMask/i1193-errorstylefix
Fix styling of error message in import accounts
-rw-r--r--ui/app/accounts/import/json.js3
-rw-r--r--ui/app/accounts/import/private-key.js3
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 ]))
}
-