Commit 0ef9d841 authored by mgabdev's avatar mgabdev

Fixed issue in timelines reducer with wrong variable on fail

• Fixed:
- issue in timelines reducer with wrong variable on fail
parent 763a0cb1
......@@ -180,8 +180,8 @@ export default function timelines(state = initialState, action) {
return state.update(action.timeline, initialTimeline, map => map.set('isLoading', true));
case TIMELINE_EXPAND_FAIL:
return state.update(action.timeline, initialTimeline, map => map.withMutations(mMap => {
map.set('isLoading', false)
map.set('isError', true)
mMap.set('isLoading', false)
mMap.set('isError', true)
}));
case TIMELINE_EXPAND_SUCCESS:
return expandNormalizedTimeline(state, action.timeline, fromJS(action.statuses), action.next, action.partial, action.isLoadingRecent);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment