A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ciphermask/ui/app/root.js

32 lines
649 B

const { Component } = require('react')
const PropTypes = require('prop-types')
const { Provider } = require('react-redux')
const h = require('react-hyperscript')
const { HashRouter } = require('react-router-dom')
const App = require('./app')
const I18nProvider = require('./i18n-provider')
class Root extends Component {
render () {
const { store } = this.props
9 years ago
return (
h(Provider, { store }, [
h(HashRouter, {
hashType: 'noslash',
}, [
h(I18nProvider, [
h(App),
]),
]),
])
)
}
}
Root.propTypes = {
store: PropTypes.object,
}
module.exports = Root