API & Client: Profile update
This commit is contained in:
@ -49,6 +49,7 @@ const message = (state = initial.message, action) => {
|
||||
switch (action.type) {
|
||||
case 'AUTH_ERROR':
|
||||
case 'PROFILE_ERROR':
|
||||
case 'PWD_ERROR':
|
||||
return action.message
|
||||
case 'LOGOUT':
|
||||
case 'PROFILE_SUCCESS':
|
||||
|
@ -28,7 +28,9 @@ export default {
|
||||
lastName: '',
|
||||
bio: '',
|
||||
location: '',
|
||||
birthDate: ''
|
||||
birthDate: '',
|
||||
password: '',
|
||||
passwordConf: ''
|
||||
}
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user