action and reducer setup
This commit is contained in:
parent
246b131b87
commit
9eff420bea
|
@ -1,2 +1,3 @@
|
|||
/node_modules
|
||||
bundle.js
|
||||
npm-debug.log
|
||||
|
|
|
@ -4,9 +4,10 @@ import ReactDOM from 'react-dom';
|
|||
import { createStore } from 'redux';
|
||||
|
||||
import App from './components/app';
|
||||
import reducers from './reducers';
|
||||
|
||||
ReactDOM.render(
|
||||
<Provider store={createStore(() => {})}>
|
||||
<Provider store={createStore(reducers)}>
|
||||
<App />
|
||||
</Provider>
|
||||
, document.getElementById('container'));
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
import { combineReducers } from 'redux'
|
||||
|
||||
const rootReducer = combineReducers({})
|
||||
|
||||
export default rootReducer
|
Loading…
Reference in New Issue