Added redux reducer and store for calling from the login page.

This commit is contained in:
2017-10-06 12:07:43 +02:00
parent c03449b9e9
commit dbb8eb4057
2 changed files with 115 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import { createStore, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
import logger from 'redux-logger';
import reducer from './reducer.jsx';
const store = createStore(reducer, {}, applyMiddleware(thunk, logger));
export default store;