UNPKG

@randy.tarampi/jsx

Version:

Some common JSX components for www.randytarampi.ca

23 lines (18 loc) 627 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = exports.clearError = exports.clearErrorCreator = exports.CLEAR_ERROR = void 0; var _reduxActions = require("redux-actions"); var CLEAR_ERROR = "CLEAR_ERROR"; exports.CLEAR_ERROR = CLEAR_ERROR; var clearErrorCreator = function clearErrorCreator() { return function (dispatch) { dispatch(clearError()); }; }; exports.clearErrorCreator = clearErrorCreator; var clearError = (0, _reduxActions.createAction)(CLEAR_ERROR); exports.clearError = clearError; var _default = clearErrorCreator; exports["default"] = _default;