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 = {
  isMobileOpen: false,
  isSettingsOpen: false
};
export default handleActions(_defineProperty({}, C.UPDATE_DISPLAY, function (state, action) {
  return _objectSpread({}, state, action.payload);
}), initialState);