import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread";
import { handleActions } from 'redux-actions';
import * as C from './constants';
export var initialState = {
  isLoading: 0,
  error: null
};
export default handleActions(_defineProperty({}, C.UPDATE_STATUS, function (state, action) {
  return _objectSpread({}, state, action.payload);
}), initialState);