mirror of
https://github.com/yldio/copilot.git
synced 2024-12-11 04:20:05 +02:00
26 lines
417 B
JavaScript
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>
|
|
);
|
|
};
|