"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.section = section;
var _actionTypes = require("../constants/actionTypes");
function section() {
  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'Actions';
  let action = arguments.length > 1 ? arguments[1] : undefined;
  if (action.type === _actionTypes.CHANGE_SECTION) {
    return action.section;
  }
  return state;
}