aboutsummaryrefslogtreecommitdiffstats
path: root/ui/classic/app/root.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/classic/app/root.js')
-rw-r--r--ui/classic/app/root.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/ui/classic/app/root.js b/ui/classic/app/root.js
new file mode 100644
index 000000000..9e7314b20
--- /dev/null
+++ b/ui/classic/app/root.js
@@ -0,0 +1,22 @@
+const inherits = require('util').inherits
+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),
+ ])
+
+ )
+}