25 lines
402 B
JavaScript
25 lines
402 B
JavaScript
const React = require('react');
|
|
const ReactHotLoader = require('react-hot-loader');
|
|
const ReactRedux = require('react-redux');
|
|
const Graph = require('./c3js');
|
|
|
|
const {
|
|
AppContainer
|
|
} = ReactHotLoader;
|
|
|
|
const {
|
|
Provider
|
|
} = ReactRedux;
|
|
|
|
module.exports = ({
|
|
store
|
|
}) => {
|
|
return (
|
|
<AppContainer>
|
|
<Provider store={store}>
|
|
<Graph />
|
|
</Provider>
|
|
</AppContainer>
|
|
);
|
|
};
|