aboutsummaryrefslogblamecommitdiffstats
path: root/ui/app/root.js
blob: 21d6d1829aa37a6fe0093db0a76c574d0946a556 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                         


                                                
                                           


                     
                         
                                         
 
                                     
          
 


                              
                     



      
const inherits = require('util').inherits
const Component = require('react').Component
const Provider = require('react-redux').Provider
const h = require('react-hyperscript')
const SelectedApp = require('./select-app')

module.exports = Root

inherits(Root, Component)
function Root () { Component.call(this) }

Root.prototype.render = function () {
  return (

    h(Provider, {
      store: this.props.store,
    }, [
      h(SelectedApp),
    ])

  )
}