"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.store = void 0;

var _toolkit = require("@reduxjs/toolkit");

var _combinedReducer = _interopRequireDefault(require("../reducers/combinedReducer"));

var _waitUntilAction = require("./middleware/waitUntilAction");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

const store = (0, _toolkit.configureStore)({
  reducer: (0, _combinedReducer.default)(),
  middleware: getDefaultMiddleware => getDefaultMiddleware({
    immutableCheck: false,
    serializableCheck: false
  }).concat(_waitUntilAction.waitUntilAction)
});
exports.store = store;