Forgotten return

pull/69/head
Eugen 2016-08-24 23:33:46 +02:00 committed by GitHub
parent a541e937ca
commit f5e1127894
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ export default function statuses(state = initialState, action) {
return state.set(action.timeline, Immutable.fromJS(action.statuses));
case ADD_STATUS:
return state.update(action.timeline, function (list) {
list.unshift(Immutable.fromJS(action.status));
return list.unshift(Immutable.fromJS(action.status));
});
default:
return state;