diff options
Diffstat (limited to 'app/assets/javascripts/components/reducers/cards.jsx')
-rw-r--r-- | app/assets/javascripts/components/reducers/cards.jsx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/app/assets/javascripts/components/reducers/cards.jsx b/app/assets/javascripts/components/reducers/cards.jsx deleted file mode 100644 index 3c9395011..000000000 --- a/app/assets/javascripts/components/reducers/cards.jsx +++ /dev/null @@ -1,14 +0,0 @@ -import { STATUS_CARD_FETCH_SUCCESS } from '../actions/cards'; - -import Immutable from 'immutable'; - -const initialState = Immutable.Map(); - -export default function cards(state = initialState, action) { - switch(action.type) { - case STATUS_CARD_FETCH_SUCCESS: - return state.set(action.id, Immutable.fromJS(action.card)); - default: - return state; - } -}; |