1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-11 05:40:11 +02:00
copilot/legacy/spikes/graphs-fe/rickshaw/client/root.js

26 lines
404 B
JavaScript
Raw Normal View History

2016-11-08 16:43:04 +02:00
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>
);
};