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