vue-datocms 4.0.3 → 4.0.4
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/index.cjs.js +1 -1
- package/dist/index.esm.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -534,7 +534,7 @@ const hAdapter = (tagName, props, childOrChildren) => {
|
|
|
534
534
|
return vueDemi.h(
|
|
535
535
|
tagName,
|
|
536
536
|
props,
|
|
537
|
-
Array.isArray(childOrChildren) ? childOrChildren : [childOrChildren]
|
|
537
|
+
typeof childOrChildren === "undefined" || Array.isArray(childOrChildren) ? childOrChildren : [childOrChildren]
|
|
538
538
|
);
|
|
539
539
|
};
|
|
540
540
|
const defaultAdapter = {
|
package/dist/index.esm.mjs
CHANGED
|
@@ -528,7 +528,7 @@ const hAdapter = (tagName, props, childOrChildren) => {
|
|
|
528
528
|
return h(
|
|
529
529
|
tagName,
|
|
530
530
|
props,
|
|
531
|
-
Array.isArray(childOrChildren) ? childOrChildren : [childOrChildren]
|
|
531
|
+
typeof childOrChildren === "undefined" || Array.isArray(childOrChildren) ? childOrChildren : [childOrChildren]
|
|
532
532
|
);
|
|
533
533
|
};
|
|
534
534
|
const defaultAdapter = {
|