about summary refs log tree commit diff
path: root/app/assets/javascripts/components/reducers/user_lists.jsx
diff options
context:
space:
mode:
authornicolas <nclm@users.noreply.github.com>2016-11-25 08:53:34 +0100
committerGitHub <noreply@github.com>2016-11-25 08:53:34 +0100
commit9af6c52a41664e5b6dd7c200d696499e00cf1c01 (patch)
treee56114e766ee39c4825a556c0dc12e90240faece /app/assets/javascripts/components/reducers/user_lists.jsx
parent60577f4c6ee9f4a4c9af0a41a8954e19a5f2c8cf (diff)
parent543d06971e461510591ff64ebc666bd414e8e084 (diff)
Merge pull request #3 from Gargron/master
Merge
Diffstat (limited to 'app/assets/javascripts/components/reducers/user_lists.jsx')
-rw-r--r--app/assets/javascripts/components/reducers/user_lists.jsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/assets/javascripts/components/reducers/user_lists.jsx b/app/assets/javascripts/components/reducers/user_lists.jsx
index 65598f8a0..3608e4209 100644
--- a/app/assets/javascripts/components/reducers/user_lists.jsx
+++ b/app/assets/javascripts/components/reducers/user_lists.jsx
@@ -4,7 +4,6 @@ import {
   FOLLOWING_FETCH_SUCCESS,
   FOLLOWING_EXPAND_SUCCESS
 } from '../actions/accounts';
-import { SUGGESTIONS_FETCH_SUCCESS } from '../actions/suggestions';
 import {
   REBLOGS_FETCH_SUCCESS,
   FAVOURITES_FETCH_SUCCESS
@@ -14,7 +13,6 @@ import Immutable from 'immutable';
 const initialState = Immutable.Map({
   followers: Immutable.Map(),
   following: Immutable.Map(),
-  suggestions: Immutable.List(),
   reblogged_by: Immutable.Map(),
   favourited_by: Immutable.Map()
 });
@@ -42,8 +40,6 @@ export default function userLists(state = initialState, action) {
       return normalizeList(state, 'following', action.id, action.accounts, action.next);
     case FOLLOWING_EXPAND_SUCCESS:
       return appendToList(state, 'following', action.id, action.accounts, action.next);
-    case SUGGESTIONS_FETCH_SUCCESS:
-      return state.set('suggestions', Immutable.List(action.accounts.map(item => item.id)));
     case REBLOGS_FETCH_SUCCESS:
       return state.setIn(['reblogged_by', action.id], Immutable.List(action.accounts.map(item => item.id)));
     case FAVOURITES_FETCH_SUCCESS: