mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-25 15:09:29 +00:00
Forgotten return
This commit is contained in:
parent
a541e937ca
commit
f5e1127894
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue