1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 04:46:10 +01:00
metamask-extension/old-ui/app/root.js

24 lines
454 B
JavaScript
Raw Normal View History

2017-11-14 17:04:23 +01:00
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 () {
console.log(123454)
return (
h(Provider, {
store: this.props.store,
}, [
h(App),
])
)
}