declarative-ui-core 1.0.7 → 1.0.8
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 +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -297,7 +297,7 @@ function Q({ page: i, componentId: t, component: e }) {
|
|
|
297
297
|
} catch {
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
|
-
return p.once("
|
|
300
|
+
return p.on("styledata", k), p.once("load", k), f.current = p, () => {
|
|
301
301
|
h.current.forEach((M) => M.remove()), h.current = [], f.current = null, p.remove();
|
|
302
302
|
};
|
|
303
303
|
}
|
|
@@ -339,7 +339,7 @@ function Q({ page: i, componentId: t, component: e }) {
|
|
|
339
339
|
d.once("style.load", L), d.once("load", p);
|
|
340
340
|
const m = setTimeout(() => {
|
|
341
341
|
d.isStyleLoaded() && (console.log("[MapLibreGL] Fallback timer applying data layer"), a());
|
|
342
|
-
},
|
|
342
|
+
}, 2e3);
|
|
343
343
|
return () => {
|
|
344
344
|
clearTimeout(m);
|
|
345
345
|
};
|