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