about summary refs log tree commit diff
path: root/app/assets
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-13 19:44:19 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-13 19:44:19 +0100
commit49b789695368e201eb90d504f48adaa16522bd7b (patch)
tree2159a89f28a12a80a34bb66e77b3c0397f6809f2 /app/assets
parent3f54fba0d327858412a8ac315bffb8868ae78651 (diff)
Fix stale reference
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/components/reducers/accounts.jsx2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/assets/javascripts/components/reducers/accounts.jsx b/app/assets/javascripts/components/reducers/accounts.jsx
index b20b3d0c5..c380a88f0 100644
--- a/app/assets/javascripts/components/reducers/accounts.jsx
+++ b/app/assets/javascripts/components/reducers/accounts.jsx
@@ -6,7 +6,6 @@ import {
   ACCOUNT_TIMELINE_FETCH_SUCCESS,
   ACCOUNT_TIMELINE_EXPAND_SUCCESS
 } from '../actions/accounts';
-import { FOLLOW_SUBMIT_SUCCESS } from '../actions/follow';
 import { SUGGESTIONS_FETCH_SUCCESS } from '../actions/suggestions';
 import { COMPOSE_SUGGESTIONS_READY } from '../actions/compose';
 import {
@@ -63,7 +62,6 @@ export default function accounts(state = initialState, action) {
   switch(action.type) {
     case ACCOUNT_SET_SELF:
     case ACCOUNT_FETCH_SUCCESS:
-    case FOLLOW_SUBMIT_SUCCESS:
       return normalizeAccount(state, action.account);
     case SUGGESTIONS_FETCH_SUCCESS:
     case FOLLOWERS_FETCH_SUCCESS: