mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 02:58:09 +01:00
32 lines
597 B
JavaScript
32 lines
597 B
JavaScript
|
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')
|
||
|
|
||
|
module.exports = connect(mapStateToProps)(COMPONENTNAME)
|
||
|
|
||
|
function mapStateToProps(state) {
|
||
|
return {}
|
||
|
}
|
||
|
|
||
|
inherits(COMPONENTNAME, Component)
|
||
|
function COMPONENTNAME() {
|
||
|
Component.call(this)
|
||
|
}
|
||
|
|
||
|
COMPONENTNAME.prototype.render = function() {
|
||
|
var state = this.props
|
||
|
var rpc = state.rpc
|
||
|
|
||
|
return (
|
||
|
h('div', {
|
||
|
style: {
|
||
|
display: 'none',
|
||
|
}
|
||
|
}, [
|
||
|
])
|
||
|
)
|
||
|
}
|
||
|
|