aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/accounts/import/index.js
diff options
context:
space:
mode:
authorDan Finlay <flyswatter@users.noreply.github.com>2017-06-28 11:55:16 +0800
committerGitHub <noreply@github.com>2017-06-28 11:55:16 +0800
commitc2aa05e0134d552e784391ae22ec2b8c35a7eb94 (patch)
treec4305db8481606cc31c2d081e3299a327681953c /ui/app/accounts/import/index.js
parentb9f220c90d5265d18a0d6f7b196e1429e1f8a791 (diff)
parentd5f0ee4f5e6a0c608ea200fb8c6593641505296d (diff)
downloadtangerine-wallet-browser-c2aa05e0134d552e784391ae22ec2b8c35a7eb94.tar
tangerine-wallet-browser-c2aa05e0134d552e784391ae22ec2b8c35a7eb94.tar.gz
tangerine-wallet-browser-c2aa05e0134d552e784391ae22ec2b8c35a7eb94.tar.bz2
tangerine-wallet-browser-c2aa05e0134d552e784391ae22ec2b8c35a7eb94.tar.lz
tangerine-wallet-browser-c2aa05e0134d552e784391ae22ec2b8c35a7eb94.tar.xz
tangerine-wallet-browser-c2aa05e0134d552e784391ae22ec2b8c35a7eb94.tar.zst
tangerine-wallet-browser-c2aa05e0134d552e784391ae22ec2b8c35a7eb94.zip
Merge pull request #1688 from MetaMask/i1687-BackButtonImportScreen
Add Back Button for Import Screen
Diffstat (limited to 'ui/app/accounts/import/index.js')
-rw-r--r--ui/app/accounts/import/index.js9
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',