@bbki.ng/components 2.1.32 → 2.1.33
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 +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +3 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -383,9 +383,13 @@ var ErrorBoundary = class extends import_react10.default.Component {
|
|
|
383
383
|
}
|
|
384
384
|
render() {
|
|
385
385
|
if (this.state.error && this.state.hasError) {
|
|
386
|
-
return /* @__PURE__ */ import_react10.default.createElement(
|
|
386
|
+
return /* @__PURE__ */ import_react10.default.createElement(Article, {
|
|
387
|
+
title: "\u51FA\u9519"
|
|
388
|
+
}, /* @__PURE__ */ import_react10.default.createElement("div", {
|
|
389
|
+
className: "relative h-256"
|
|
390
|
+
}, /* @__PURE__ */ import_react10.default.createElement(Error2, {
|
|
387
391
|
error: this.state.error
|
|
388
|
-
});
|
|
392
|
+
}), ";"));
|
|
389
393
|
}
|
|
390
394
|
return this.props.children;
|
|
391
395
|
}
|