blob: 09deae1b19295883ca1cea8402f4b6e0ff528e08 (
plain) (
tree)
|
|
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
|