sforkowany z mirror/soapbox
Fix accounts_meta reducer
rodzic
96c2e42ebf
commit
209da02b9f
|
@ -22,8 +22,9 @@ export default function accounts_meta(state = initialState, action) {
|
|||
switch(action.type) {
|
||||
case ME_FETCH_SUCCESS:
|
||||
case ME_PATCH_SUCCESS:
|
||||
case VERIFY_CREDENTIALS_SUCCESS:
|
||||
return importAccount(state, fromJS(action.me));
|
||||
case VERIFY_CREDENTIALS_SUCCESS:
|
||||
return importAccount(state, fromJS(action.account));
|
||||
default:
|
||||
return state;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue