"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var react_redux_1 = require("react-redux");
var Root_1 = require("../components/Root");
var redux_1 = require("../redux");
var mapStateToProps = function (state, ownProps) {
    return {};
};
var mapDispatchToProps = function (dispatch, ownProps) {
    return {
        initMap: function (map) { return dispatch(redux_1.canvas.actions.initMap(map)); },
        addTileset: function (tileset) { return dispatch(redux_1.palette.actions.addTileset(tileset)); }
    };
};
exports.default = react_redux_1.connect(mapStateToProps, mapDispatchToProps)(Root_1.default);
//# sourceMappingURL=Root.js.map