var _createReducer;
import { createReducer } from "redux-act";

//./caretPosition.js
import createAction from "./utils/createMetaAction";
// import createReducer from "./utils/createMergedDefaultStateReducer";

// ------------------------------------
// Actions
// ------------------------------------
export var toggleShowGCContent = createAction("toggleShowGCContent");

// ------------------------------------
// Reducer
// ------------------------------------
export default createReducer((_createReducer = {}, _createReducer[toggleShowGCContent] = function (state, val) {
  localStorage.setItem("showGCContent", val);
  return val;
}, _createReducer), window.localStorage.getItem("showGCContent"));