mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 11:01:41 +01:00
094e4cf555
* eslint: Check for unused function arguments * eslint: Ignore unused '_' in argument list Also allow any number of '_' e.g., '__' or '___' which is to be used sparingly * Remove and rename unused arguments
36 lines
717 B
JavaScript
36 lines
717 B
JavaScript
const inherits = require('util').inherits
|
|
const Component = require('react').Component
|
|
const h = require('react-hyperscript')
|
|
const PropTypes = require('prop-types')
|
|
const connect = require('react-redux').connect
|
|
|
|
SeedImportSubview.contextTypes = {
|
|
t: PropTypes.func,
|
|
}
|
|
|
|
module.exports = connect(mapStateToProps)(SeedImportSubview)
|
|
|
|
|
|
function mapStateToProps () {
|
|
return {}
|
|
}
|
|
|
|
inherits(SeedImportSubview, Component)
|
|
function SeedImportSubview () {
|
|
Component.call(this)
|
|
}
|
|
|
|
SeedImportSubview.prototype.render = function () {
|
|
return (
|
|
h('div', {
|
|
style: {
|
|
},
|
|
}, [
|
|
this.context.t('pasteSeed'),
|
|
h('textarea'),
|
|
h('br'),
|
|
h('button', this.context.t('submit')),
|
|
])
|
|
)
|
|
}
|