@panneau/core 2.0.75 → 2.0.83
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/hooks.js +2 -1
- package/lib/hooks.js +2 -1
- package/package.json +2 -2
package/es/hooks.js
CHANGED
|
@@ -260,9 +260,10 @@ var useForm = function useForm() {
|
|
|
260
260
|
}, [finalPostForm, action, value]);
|
|
261
261
|
var onSubmit = useCallback(function (e) {
|
|
262
262
|
e.preventDefault();
|
|
263
|
+
console.log('hey ya');
|
|
263
264
|
// This one is very important with multiple forms
|
|
264
265
|
// Nested forms (even in portals) will bubble the onSubmit event to the parent
|
|
265
|
-
e.stopPropagation();
|
|
266
|
+
// e.stopPropagation();
|
|
266
267
|
submit();
|
|
267
268
|
}, [submit, action]);
|
|
268
269
|
var status = null;
|
package/lib/hooks.js
CHANGED
|
@@ -295,9 +295,10 @@ var useForm = function useForm() {
|
|
|
295
295
|
}, [finalPostForm, action, value]);
|
|
296
296
|
var onSubmit = react.useCallback(function (e) {
|
|
297
297
|
e.preventDefault();
|
|
298
|
+
console.log('hey ya');
|
|
298
299
|
// This one is very important with multiple forms
|
|
299
300
|
// Nested forms (even in portals) will bubble the onSubmit event to the parent
|
|
300
|
-
e.stopPropagation();
|
|
301
|
+
// e.stopPropagation();
|
|
301
302
|
submit();
|
|
302
303
|
}, [submit, action]);
|
|
303
304
|
var status = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.83",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"publishConfig": {
|
|
115
115
|
"access": "public"
|
|
116
116
|
},
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "2f2300a3f55d94d6913eb25cde7f035b3c8e0915"
|
|
118
118
|
}
|