dispatch/client/js/components/Root.js

13 lines
263 B
JavaScript

import React from 'react';
import { Provider } from 'react-redux';
import { hot } from 'react-hot-loader';
import App from 'containers/App';
const Root = ({ store }) => (
<Provider store={store}>
<App />
</Provider>
);
export default hot(module)(Root);