A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
const { Component } = require('react')
|
|
|
|
const PropTypes = require('prop-types')
|
|
|
|
const { Provider } = require('react-redux')
|
|
|
|
const h = require('react-hyperscript')
|
|
|
|
const SelectedApp = require('./select-app')
|
|
|
|
|
|
|
|
class Root extends Component {
|
|
|
|
render () {
|
|
|
|
const { store } = this.props
|
|
|
|
|
|
|
|
return (
|
|
|
|
h(Provider, { store }, [
|
|
|
|
h(SelectedApp),
|
|
|
|
])
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Root.propTypes = {
|
|
|
|
store: PropTypes.object,
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = Root
|