aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/keychains/hd/create-vault-complete.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-09-14 06:11:03 +0800
committerDan Finlay <dan@danfinlay.com>2017-09-14 06:11:03 +0800
commitc17c6576930e9c536aa0164470a0505d8cfcbf75 (patch)
tree5eca1c7b616f0e5d962ca9cda1c96915a10bea23 /ui/app/keychains/hd/create-vault-complete.js
parenta01921758b25d151cfb1c47d7235f59291c29945 (diff)
parentcafebb6417331d9d0a0a83fdc1cc4fdb04d0a5ec (diff)
downloadtangerine-wallet-browser-c17c6576930e9c536aa0164470a0505d8cfcbf75.tar
tangerine-wallet-browser-c17c6576930e9c536aa0164470a0505d8cfcbf75.tar.gz
tangerine-wallet-browser-c17c6576930e9c536aa0164470a0505d8cfcbf75.tar.bz2
tangerine-wallet-browser-c17c6576930e9c536aa0164470a0505d8cfcbf75.tar.lz
tangerine-wallet-browser-c17c6576930e9c536aa0164470a0505d8cfcbf75.tar.xz
tangerine-wallet-browser-c17c6576930e9c536aa0164470a0505d8cfcbf75.tar.zst
tangerine-wallet-browser-c17c6576930e9c536aa0164470a0505d8cfcbf75.zip
Merge branch 'master' into AddBalanceController
Diffstat (limited to 'ui/app/keychains/hd/create-vault-complete.js')
-rw-r--r--ui/app/keychains/hd/create-vault-complete.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/ui/app/keychains/hd/create-vault-complete.js b/ui/app/keychains/hd/create-vault-complete.js
index c32751fff..745990351 100644
--- a/ui/app/keychains/hd/create-vault-complete.js
+++ b/ui/app/keychains/hd/create-vault-complete.js
@@ -3,6 +3,7 @@ const Component = require('react').Component
const connect = require('react-redux').connect
const h = require('react-hyperscript')
const actions = require('../../actions')
+const exportAsFile = require('../../util').exportAsFile
module.exports = connect(mapStateToProps)(CreateVaultCompleteScreen)
@@ -65,8 +66,17 @@ CreateVaultCompleteScreen.prototype.render = function () {
style: {
margin: '24px',
fontSize: '0.9em',
+ marginBottom: '10px',
},
}, 'I\'ve copied it somewhere safe'),
+
+ h('button.primary', {
+ onClick: () => exportAsFile(`MetaMask Seed Words`, seed),
+ style: {
+ margin: '10px',
+ fontSize: '0.9em',
+ },
+ }, 'Save Seed Words As File'),
])
)
}