aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-10-05 09:40:47 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-10-05 09:40:47 +0800
commit30a915921e79dd9f71aa0eaab46ebff6c194a717 (patch)
treec6a44fb67bbf39252ce93ce74c5bd23b567b2114 /ui/app
parent991c06e5421406ab352bbc59d3a6a343ee78b383 (diff)
parente5bf957242b1d443ef15b588340dba1a5e34b92a (diff)
downloadtangerine-wallet-browser-30a915921e79dd9f71aa0eaab46ebff6c194a717.tar
tangerine-wallet-browser-30a915921e79dd9f71aa0eaab46ebff6c194a717.tar.gz
tangerine-wallet-browser-30a915921e79dd9f71aa0eaab46ebff6c194a717.tar.bz2
tangerine-wallet-browser-30a915921e79dd9f71aa0eaab46ebff6c194a717.tar.lz
tangerine-wallet-browser-30a915921e79dd9f71aa0eaab46ebff6c194a717.tar.xz
tangerine-wallet-browser-30a915921e79dd9f71aa0eaab46ebff6c194a717.tar.zst
tangerine-wallet-browser-30a915921e79dd9f71aa0eaab46ebff6c194a717.zip
Merge branch 'master' into tos
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/components/account-export.js9
-rw-r--r--ui/app/first-time/create-vault-complete.js1
2 files changed, 7 insertions, 3 deletions
diff --git a/ui/app/components/account-export.js b/ui/app/components/account-export.js
index f36b9faeb..6d8b099a5 100644
--- a/ui/app/components/account-export.js
+++ b/ui/app/components/account-export.js
@@ -3,6 +3,7 @@ const h = require('react-hyperscript')
const inherits = require('util').inherits
const copyToClipboard = require('copy-to-clipboard')
const actions = require('../actions')
+const ethUtil = require('ethereumjs-util')
module.exports = ExportAccountView
@@ -61,7 +62,9 @@ ExportAccountView.prototype.render = function () {
if (accountExported) {
return h('div.privateKey', {
-
+ style: {
+ margin: '0 20px',
+ },
}, [
h('label', 'Your private key (click to copy):'),
h('p.error.cursor-pointer', {
@@ -72,9 +75,9 @@ ExportAccountView.prototype.render = function () {
width: '100%',
},
onClick: function (event) {
- copyToClipboard(accountDetail.privateKey)
+ copyToClipboard(ethUtil.stripHexPrefix(accountDetail.privateKey))
},
- }, accountDetail.privateKey),
+ }, ethUtil.stripHexPrefix(accountDetail.privateKey)),
h('button', {
onClick: () => this.props.dispatch(actions.backToAccountDetail(this.props.address)),
}, 'Done'),
diff --git a/ui/app/first-time/create-vault-complete.js b/ui/app/first-time/create-vault-complete.js
index 0ca0a1b22..2b5413955 100644
--- a/ui/app/first-time/create-vault-complete.js
+++ b/ui/app/first-time/create-vault-complete.js
@@ -61,6 +61,7 @@ CreateVaultCompleteScreen.prototype.render = function () {
onClick: () => this.confirmSeedWords(),
style: {
margin: '24px',
+ fontSize: '0.9em',
},
}, 'I\'ve copied it somewhere safe'),
])