UNPKG

@patternplate/client

Version:

Universal javascript client application for patternplate

33 lines (28 loc) 713 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.type = exports.default = void 0; var _ = require("./"); var _default = closeAllTheThings; exports.default = _default; const type = "CLOSE_ALL_THE_THINGS"; exports.type = type; function closeAllTheThings() { return dispatch => { dispatch((0, _.dismissAllMessages)()); dispatch((0, _.patchLocation)({ query: { issue: null, lightbox: null, "menu-enabled": null, "network-enabled": null, "search-enabled": null, source: null, "source-expanded": null } })); }; } closeAllTheThings.type = type; //# sourceMappingURL=close-all-the-things.js.map