@micromag/core 0.3.67 → 0.3.68
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/es/components.js +3 -1
- package/lib/components.js +3 -1
- package/package.json +2 -2
package/es/components.js
CHANGED
|
@@ -566,7 +566,9 @@ var Form = function Form(_ref) {
|
|
|
566
566
|
}
|
|
567
567
|
}, [fieldPaths, setFieldPaths]);
|
|
568
568
|
var closeFieldForm = useCallback(function () {
|
|
569
|
-
var newFields = fieldPaths
|
|
569
|
+
var newFields = _toConsumableArray(fieldPaths);
|
|
570
|
+
|
|
571
|
+
newFields.pop();
|
|
570
572
|
setFieldPaths(_toConsumableArray(newFields));
|
|
571
573
|
|
|
572
574
|
if (onCloseFieldForm !== null) {
|
package/lib/components.js
CHANGED
|
@@ -589,7 +589,9 @@ var Form = function Form(_ref) {
|
|
|
589
589
|
}
|
|
590
590
|
}, [fieldPaths, setFieldPaths]);
|
|
591
591
|
var closeFieldForm = React.useCallback(function () {
|
|
592
|
-
var newFields = fieldPaths
|
|
592
|
+
var newFields = _toConsumableArray__default["default"](fieldPaths);
|
|
593
|
+
|
|
594
|
+
newFields.pop();
|
|
593
595
|
setFieldPaths(_toConsumableArray__default["default"](newFields));
|
|
594
596
|
|
|
595
597
|
if (onCloseFieldForm !== null) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.68",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -132,5 +132,5 @@
|
|
|
132
132
|
"publishConfig": {
|
|
133
133
|
"access": "public"
|
|
134
134
|
},
|
|
135
|
-
"gitHead": "
|
|
135
|
+
"gitHead": "3f6e61d8a3340735f345a20d1f0f86e91c820d9a"
|
|
136
136
|
}
|