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

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

// ------------------------------------
// Actions
// ------------------------------------
export var updateSequenceCase = createAction("updateSequenceCase");
var newVal = window.localStorage.getItem("uppercaseSequenceMapFont");

// ------------------------------------
// Reducer
// ------------------------------------
export default createReducer((_createReducer = {}, _createReducer[updateSequenceCase] = function (state, payload) {
  localStorage.setItem("uppercaseSequenceMapFont", payload);
  return payload;
}, _createReducer), newVal || "noPreference" //  noPreference || uppercase || lowercase
);