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








                                                
                         
                                         
 
                                     
          
 


                              
             



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

module.exports = Root

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

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

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

  )
}