export const decrement = (action$, state$) => action$.pipe(
  ofType(actionTypes.DECREMENT),
  map(() => setCounter(state$.value.getIn(['counter', 'count']) - 1)),
);