Clean up container/component relationship
This commit is contained in:
parent
8b0a53b375
commit
993d29242e
22 changed files with 384 additions and 372 deletions
11
client/src/js/components/Root.js
Normal file
11
client/src/js/components/Root.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
import React from 'react';
|
||||
import { Provider } from 'react-redux';
|
||||
import App from '../containers/App';
|
||||
|
||||
const Root = ({ store }) => (
|
||||
<Provider store={store}>
|
||||
<App />
|
||||
</Provider>
|
||||
);
|
||||
|
||||
export default Root;
|
Loading…
Add table
Add a link
Reference in a new issue