joyent-portal/spikes/graphs-fe/epoch/client/root.js

26 lines
414 B
JavaScript
Raw Permalink Normal View History

2016-11-08 12:43:11 +02:00
const React = require('react');
const ReactHotLoader = require('react-hot-loader');
const ReactRedux = require('react-redux');
const EpochGraph = require('./epoch');
const {
AppContainer
} = ReactHotLoader;
const {
Provider
} = ReactRedux;
module.exports = ({
store
}) => {
return (
<AppContainer>
<Provider store={store}>
<EpochGraph />
</Provider>
</AppContainer>
);
};