mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 20:39:08 +01:00
Add Back Button for Import Screen
This commit is contained in:
parent
b9f220c90d
commit
d5f0ee4f5e
@ -2,6 +2,7 @@ const inherits = require('util').inherits
|
|||||||
const Component = require('react').Component
|
const Component = require('react').Component
|
||||||
const h = require('react-hyperscript')
|
const h = require('react-hyperscript')
|
||||||
const connect = require('react-redux').connect
|
const connect = require('react-redux').connect
|
||||||
|
const actions = require('../../actions')
|
||||||
import Select from 'react-select'
|
import Select from 'react-select'
|
||||||
|
|
||||||
// Subviews
|
// Subviews
|
||||||
@ -37,6 +38,14 @@ AccountImportSubview.prototype.render = function () {
|
|||||||
style: {
|
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', {
|
h('div', {
|
||||||
style: {
|
style: {
|
||||||
padding: '10px',
|
padding: '10px',
|
||||||
|
Loading…
Reference in New Issue
Block a user