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.
23 lines
447 B
23 lines
447 B
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
|
|
|