"use strict";
var __extends = (this && this.__extends) || (function () {
    var extendStatics = Object.setPrototypeOf ||
        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
var React = require("react");
var react_redux_1 = require("react-redux");
var createStore_1 = require("../state/createStore");
var PlaygroundWrapper_1 = require("./PlaygroundWrapper");
var store = createStore_1.default();
var MiddlewareApp = /** @class */ (function (_super) {
    __extends(MiddlewareApp, _super);
    function MiddlewareApp() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    MiddlewareApp.prototype.render = function () {
        return (<react_redux_1.Provider store={store}>
        <PlaygroundWrapper_1.default {...this.props}/>
      </react_redux_1.Provider>);
    };
    return MiddlewareApp;
}(React.Component));
exports.default = MiddlewareApp;
//# sourceMappingURL=MiddlewareApp.jsx.map