about summary refs log tree commit diff
path: root/app/assets/javascripts/components/reducers/suggestions.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/components/reducers/suggestions.jsx')
-rw-r--r--app/assets/javascripts/components/reducers/suggestions.jsx13
1 files changed, 0 insertions, 13 deletions
diff --git a/app/assets/javascripts/components/reducers/suggestions.jsx b/app/assets/javascripts/components/reducers/suggestions.jsx
deleted file mode 100644
index 9d2b7d96a..000000000
--- a/app/assets/javascripts/components/reducers/suggestions.jsx
+++ /dev/null
@@ -1,13 +0,0 @@
-import { SUGGESTIONS_FETCH_SUCCESS } from '../actions/suggestions';
-import Immutable                     from 'immutable';
-
-const initialState = Immutable.List();
-
-export default function suggestions(state = initialState, action) {
-  switch(action.type) {
-    case SUGGESTIONS_FETCH_SUCCESS:
-      return Immutable.List(action.accounts.map(item => item.id));
-    default:
-      return state;
-  }
-}