var _createReducer;
import { createReducer } from "redux-act";
import createAction from "./utils/createMetaAction";

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

// ------------------------------------
// Reducer
// ------------------------------------
export default createReducer((_createReducer = {}, _createReducer[updateSequenceSpacing] = function (state, payload) {
  localStorage.setItem("charWidth", payload);
  return payload;
}, _createReducer), newVal || 9);