1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-01 07:30:07 +02:00
copilot/spikes/graphs-fe/plotly/client/root.js
2016-11-07 15:17:19 +00:00

26 lines
417 B
JavaScript

const React = require('react');
const ReactHotLoader = require('react-hot-loader');
const ReactRedux = require('react-redux');
const PlotlyGraph = require('./plotly');
const {
AppContainer
} = ReactHotLoader;
const {
Provider
} = ReactRedux;
module.exports = ({
store
}) => {
return (
<AppContainer>
<Provider store={store}>
<PlotlyGraph />
</Provider>
</AppContainer>
);
};