about summary refs log tree commit diff
path: root/app/assets/javascripts/components/reducers/statuses.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/components/reducers/statuses.jsx')
-rw-r--r--app/assets/javascripts/components/reducers/statuses.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/reducers/statuses.jsx b/app/assets/javascripts/components/reducers/statuses.jsx
index d69d66328..9f0cb207e 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;