@servicetitan/error-boundary
Advanced tools
Comparing version 16.1.0 to 17.0.0
@@ -43,3 +43,3 @@ "use strict"; | ||
if (hasError) { | ||
return jsx_runtime_1.jsx(Fallback, {}, void 0); | ||
return (0, jsx_runtime_1.jsx)(Fallback, {}, void 0); | ||
} | ||
@@ -50,8 +50,8 @@ return this.props.children; | ||
__decorate([ | ||
react_ioc_1.optional(), | ||
react_ioc_1.injectDependency(log_service_1.Log), | ||
(0, react_ioc_1.optional)(), | ||
(0, react_ioc_1.injectDependency)(log_service_1.Log), | ||
__metadata("design:type", log_service_1.Log) | ||
], ErrorBoundary.prototype, "logService", void 0); | ||
exports.ErrorBoundary = ErrorBoundary; | ||
const DefaultFallback = () => jsx_runtime_1.jsx("h2", { children: "Something went wrong" }, void 0); | ||
const DefaultFallback = () => (0, jsx_runtime_1.jsx)("h2", { children: "Something went wrong" }, void 0); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@servicetitan/error-boundary", | ||
"version": "16.1.0", | ||
"version": "17.0.0", | ||
"description": "", | ||
@@ -18,4 +18,4 @@ "homepage": "https://docs.st.dev/docs/frontend/error-boundary", | ||
"devDependencies": { | ||
"@servicetitan/log-service": "^16.1.0", | ||
"@servicetitan/react-ioc": "^16.1.0", | ||
"@servicetitan/log-service": "^17.0.0", | ||
"@servicetitan/react-ioc": "^17.0.0", | ||
"@types/react": "~17.0.24", | ||
@@ -35,3 +35,3 @@ "react": "~17.0.2" | ||
}, | ||
"gitHead": "3790506ef903e0e9bf129dcf4d2ed352f42b007d" | ||
"gitHead": "afe94cb5a9f840f311627751e23fb71fd2c6fe4e" | ||
} |
Sorry, the diff of this file is not supported yet
6054