lml-main
Version:
This is now a mono repository published into many standalone packages.
12 lines • 536 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var redux_observable_1 = require("redux-observable");
var actions_1 = require("../actions");
exports.putPlaceSuccess = function (action$, store) {
return action$.ofType(actions_1.POST_PLACE.SUCCESS, actions_1.PUT_PLACE.SUCCESS)
.map(function (action) {
return actions_1.setPlaceById(action.result.places[0]);
});
};
exports.putPlaceEpics = redux_observable_1.combineEpics(exports.putPlaceSuccess);
//# sourceMappingURL=put-place.js.map