1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00
metamask-extension/ui/app/root.js
2017-12-04 23:08:23 -03:30

23 lines
456 B
JavaScript

const inherits = require('util').inherits
const Component = require('react').Component
const Provider = require('react-redux').Provider
const h = require('react-hyperscript')
const SelectedApp = require('./select-app')
module.exports = Root
inherits(Root, Component)
function Root () { Component.call(this) }
Root.prototype.render = function () {
return (
h(Provider, {
store: this.props.store,
}, [
h(SelectedApp),
])
)
}