yootd 0.2.9 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tree/index.js +4 -6
- package/package.json +1 -1
package/dist/tree/index.js
CHANGED
@@ -163,16 +163,14 @@ export var TreeInternal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
163
163
|
key: item.key
|
164
164
|
}, strTitle);
|
165
165
|
if (item.children) {
|
166
|
-
return _objectSpread(_objectSpread({
|
167
|
-
title: title
|
168
|
-
}, item), {}, {
|
166
|
+
return _objectSpread(_objectSpread({}, item), {}, {
|
167
|
+
title: title,
|
169
168
|
key: item.key,
|
170
169
|
children: loop(item.children)
|
171
170
|
});
|
172
171
|
}
|
173
|
-
return _objectSpread(_objectSpread({
|
174
|
-
title: title
|
175
|
-
}, item), {}, {
|
172
|
+
return _objectSpread(_objectSpread({}, item), {}, {
|
173
|
+
title: title,
|
176
174
|
key: item.key
|
177
175
|
});
|
178
176
|
});
|