about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2016-08-24 23:33:46 +0200
committerGitHub <noreply@github.com>2016-08-24 23:33:46 +0200
commitf5e1127894e74f21a774569bf6afc1e87a84fa2f (patch)
tree75d6d948f2e83a5ff349a2f40ee48188a9ed10b6 /app
parenta541e937ca8b299092d0dc7f45d8f0b66ecc0131 (diff)
Forgotten return
Diffstat (limited to 'app')
-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;