mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 02:58:09 +01:00
25 lines
466 B
JavaScript
25 lines
466 B
JavaScript
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)
|
|
])
|
|
|
|
)
|
|
}
|