diff options
author | Thomas Huang <thomas.b.huang@gmail.com> | 2017-06-28 09:40:47 +0800 |
---|---|---|
committer | Thomas Huang <thomas.b.huang@gmail.com> | 2017-06-28 09:40:47 +0800 |
commit | d5f0ee4f5e6a0c608ea200fb8c6593641505296d (patch) | |
tree | c4305db8481606cc31c2d081e3299a327681953c /ui/app/accounts | |
parent | b9f220c90d5265d18a0d6f7b196e1429e1f8a791 (diff) | |
download | tangerine-wallet-browser-d5f0ee4f5e6a0c608ea200fb8c6593641505296d.tar tangerine-wallet-browser-d5f0ee4f5e6a0c608ea200fb8c6593641505296d.tar.gz tangerine-wallet-browser-d5f0ee4f5e6a0c608ea200fb8c6593641505296d.tar.bz2 tangerine-wallet-browser-d5f0ee4f5e6a0c608ea200fb8c6593641505296d.tar.lz tangerine-wallet-browser-d5f0ee4f5e6a0c608ea200fb8c6593641505296d.tar.xz tangerine-wallet-browser-d5f0ee4f5e6a0c608ea200fb8c6593641505296d.tar.zst tangerine-wallet-browser-d5f0ee4f5e6a0c608ea200fb8c6593641505296d.zip |
Add Back Button for Import Screen
Diffstat (limited to 'ui/app/accounts')
-rw-r--r-- | ui/app/accounts/import/index.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/app/accounts/import/index.js b/ui/app/accounts/import/index.js index a0f0f9bdb..97b387229 100644 --- a/ui/app/accounts/import/index.js +++ b/ui/app/accounts/import/index.js @@ -2,6 +2,7 @@ const inherits = require('util').inherits const Component = require('react').Component const h = require('react-hyperscript') const connect = require('react-redux').connect +const actions = require('../../actions') import Select from 'react-select' // Subviews @@ -37,6 +38,14 @@ AccountImportSubview.prototype.render = function () { style: { }, }, [ + h('.section-title.flex-row.flex-center', [ + h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', { + onClick: (event) => { + props.dispatch(actions.goHome()) + }, + }), + h('h2.page-subtitle', 'Import Accounts'), + ]), h('div', { style: { padding: '10px', |