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