@kosdev-code/kos-ui-plugin 0.1.0-dev.5116 → 0.1.0-dev.5133
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/index.cjs +1 -1
- package/index.cjs.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/lib/hooks/use-dynamic-component.d.ts.map +1 -1
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -1113,8 +1113,10 @@ const qn = (e) => {
|
|
|
1113
1113
|
const c = u;
|
|
1114
1114
|
f(c ?? null);
|
|
1115
1115
|
const x = (c == null ? void 0 : c.remote) || "", b = qn(c) ? c.view.component : c == null ? void 0 : c.component, y = b ? `./${b}` : "";
|
|
1116
|
-
if (!x)
|
|
1116
|
+
if (!x) {
|
|
1117
|
+
s(null);
|
|
1117
1118
|
return;
|
|
1119
|
+
}
|
|
1118
1120
|
const v = Y.lazy(() => Bt.loadRemoteModule(x, y));
|
|
1119
1121
|
s(v);
|
|
1120
1122
|
}
|