initial docker setup

This commit is contained in:
GotPPay
2018-06-14 16:49:28 +02:00
parent bc80b7342e
commit b5f87f27f8
3023 changed files with 985078 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
import {UPDATE_MESSAGES} from '../../constants/notificationConstants';
const moduleReducers = {};
moduleReducers[UPDATE_MESSAGES] = (state, action) => {
return Object.assign({}, state, {
updateMessages: action.updateMessages
});
};
const notificationReducer = (state = {}, action) => {
return moduleReducers[action.type]
? moduleReducers[action.type](state, action)
: state;
};
export default notificationReducer;