1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 14:15:06 +01:00
metamask-extension/ui/app/root.js

24 lines
447 B
JavaScript
Raw Normal View History

const { Component } = require('react')
const PropTypes = require('prop-types')
const { Provider } = require('react-redux')
const h = require('react-hyperscript')
2017-11-14 17:04:55 +01:00
const SelectedApp = require('./select-app')
class Root extends Component {
render () {
const { store } = this.props
2016-06-21 22:18:32 +02:00
return (
h(Provider, { store }, [
h(SelectedApp),
])
)
}
}
Root.propTypes = {
store: PropTypes.object,
}
module.exports = Root