remove updating state for modifyusersuccess since user is always fetched afterwards

This commit is contained in:
Maren Süwer
2018-11-05 13:16:48 +01:00
parent ff1dc25c5c
commit 7d149608f6

View File

@@ -376,9 +376,6 @@ function byNamesReducer(state: any = {}, action: any = {}) {
case FETCH_USER_SUCCESS:
return reducerByName(state, action.payload.name, action.payload);
case MODIFY_USER_SUCCESS:
return reducerByName(state, action.payload.name, action.payload);
case DELETE_USER_SUCCESS:
const newUserByNames = deleteUserInUsersByNames(
state,