Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import Immutable from 'seamless-immutable';
import { createReducer } from 'redux-recompose';
import { actions } from './actions';
const defaultState = {
count: 0
};
// No handling of reducer.hearthstone.cards
const reducerDescription = {
[actions.OTHER_ACTION]: state => state.merge({ count: state.count + 1 })
};
export default createReducer(Immutable(defaultState), reducerDescription);