'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getConfig = getConfig;

var _cspace = require('../actions/cspace');

exports.default = (state = {}, action) => {
  switch (action.type) {
    case _cspace.CSPACE_CONFIGURED:
      return Object.assign({}, action.payload);
    default:
      return state;
  }
};

function getConfig(state) {
  return state;
}