From f5e1127894e74f21a774569bf6afc1e87a84fa2f Mon Sep 17 00:00:00 2001 From: Eugen Date: Wed, 24 Aug 2016 23:33:46 +0200 Subject: [PATCH] Forgotten return --- app/assets/javascripts/components/reducers/statuses.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/components/reducers/statuses.jsx b/app/assets/javascripts/components/reducers/statuses.jsx index d69d6632850..9f0cb207ecc 100644 --- a/app/assets/javascripts/components/reducers/statuses.jsx +++ b/app/assets/javascripts/components/reducers/statuses.jsx @@ -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;