UNPKG

640 BJavaScriptView Raw
1"use strict";
2
3var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault");
4
5Object.defineProperty(exports, "__esModule", {
6 value: true
7});
8exports.clearData = exports.addData = void 0;
9
10var _objectSpread2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/objectSpread"));
11
12var _lodash = _interopRequireDefault(require("lodash.curryright"));
13
14var addData = (0, _lodash.default)(function (dataState, newData) {
15 return (0, _objectSpread2.default)({}, dataState, newData);
16});
17exports.addData = addData;
18
19var clearData = function clearData() {
20 return {};
21};
22
23exports.clearData = clearData;
\No newline at end of file