aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/root.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/root.js')
-rw-r--r--ui/app/root.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/ui/app/root.js b/ui/app/root.js
index 9fedf625f..9e7314b20 100644
--- a/ui/app/root.js
+++ b/ui/app/root.js
@@ -1,5 +1,4 @@
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')
@@ -7,17 +6,16 @@ const App = require('./app')
module.exports = Root
-
inherits(Root, Component)
-function Root() { Component.call(this) }
+function Root () { Component.call(this) }
-Root.prototype.render = function() {
+Root.prototype.render = function () {
return (
-
+
h(Provider, {
store: this.props.store,
}, [
- h(App)
+ h(App),
])
)