mirror of
https://github.com/yldio/copilot.git
synced 2024-12-05 01:20:08 +02:00
8295bd6882
this shall be a progressive process
26 lines
404 B
JavaScript
26 lines
404 B
JavaScript
const React = require('react');
|
|
const ReactHotLoader = require('react-hot-loader');
|
|
const ReactRedux = require('react-redux');
|
|
const Chart = require('./chart');
|
|
|
|
|
|
const {
|
|
AppContainer
|
|
} = ReactHotLoader;
|
|
|
|
const {
|
|
Provider
|
|
} = ReactRedux;
|
|
|
|
module.exports = ({
|
|
store
|
|
}) => {
|
|
return (
|
|
<AppContainer>
|
|
<Provider store={store}>
|
|
<Chart />
|
|
</Provider>
|
|
</AppContainer>
|
|
);
|
|
};
|