onchain-uikit 3.9.4-alpha90 → 3.9.4-alpha91
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.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22955,7 +22955,7 @@ const Ks = class Ks {
|
|
|
22955
22955
|
static ArrayAttributeFlat(t, r = "children", n) {
|
|
22956
22956
|
const i = [...t], o = [];
|
|
22957
22957
|
for (; i.length; ) {
|
|
22958
|
-
const f = i.shift(), u = f[r];
|
|
22958
|
+
const f = i.shift(), u = f ? f[r] : [];
|
|
22959
22959
|
if (n == null || n(f), o.push(f), u != null && u.length)
|
|
22960
22960
|
for (let a = u.length - 1; a >= 0; a--)
|
|
22961
22961
|
i.unshift(u[a]);
|