--- a +++ b/app/frontend/src/reducers/UserReducer.js @@ -0,0 +1,12 @@ +const INITIAL_STATE = {} + +export default (state = INITIAL_STATE, actions) => { + switch(actions.type){ + case "LOGIN_USER": + return { + "name":"Ivan Leo" + } + default: + return state + } +} \ No newline at end of file