1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Merge pull request #1688 from MetaMask/i1687-BackButtonImportScreen

Add Back Button for Import Screen
This commit is contained in:
Dan Finlay 2017-06-27 20:55:16 -07:00 committed by GitHub
commit c2aa05e013

View File

@ -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',