This commit is contained in:
Jori Lallo
2016-04-28 22:25:37 -07:00
parent 2f9233222d
commit cce82b3d43
79 changed files with 1495 additions and 496 deletions

15
src/reducers/user.js Normal file
View File

@@ -0,0 +1,15 @@
import { UPDATE_USER } from 'actions/UserActions';
const user = (state = null, action) => {
switch (action.type) {
case UPDATE_USER: {
return {
...action.user,
};
}
default:
return state;
}
};
export default user;