@lemon-fe/kits 1.6.3 → 1.6.5

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.
@@ -136,6 +136,11 @@ function MicroLayout(props) {
136
136
  height: '100%'
137
137
  },
138
138
  children: /*#__PURE__*/_jsx(ErrorBoundary, {
139
+ onError: function onError(error) {
140
+ setTimeout(function () {
141
+ throw error;
142
+ }, 0);
143
+ },
139
144
  fallbackRender: function fallbackRender(_ref) {
140
145
  var error = _ref.error,
141
146
  resetErrorBoundary = _ref.resetErrorBoundary;
@@ -114,6 +114,11 @@ function SimpleLayout(props) {
114
114
  height: '100%'
115
115
  },
116
116
  children: /*#__PURE__*/_jsx(ErrorBoundary, {
117
+ onError: function onError(error) {
118
+ setTimeout(function () {
119
+ throw error;
120
+ }, 0);
121
+ },
117
122
  fallbackRender: function fallbackRender(_ref) {
118
123
  var error = _ref.error,
119
124
  resetErrorBoundary = _ref.resetErrorBoundary;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lemon-fe/kits",
3
- "version": "1.6.3",
3
+ "version": "1.6.5",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@ant-design/icons": "^4.7.0",
27
- "@lemon-fe/components": "^1.6.3",
27
+ "@lemon-fe/components": "^1.6.5",
28
28
  "@lemon-fe/hooks": "^1.5.8",
29
29
  "@lemon-fe/utils": "^1.4.15",
30
30
  "ag-grid-community": "29.2.0",
@@ -47,5 +47,5 @@
47
47
  "publishConfig": {
48
48
  "registry": "https://registry.npmjs.org"
49
49
  },
50
- "gitHead": "bbc2ebe7a5a3ddf625a7d845693d4aee3408ae0e"
50
+ "gitHead": "6d2b15ab78f95a365fee40890d14ec1f37f0b3e0"
51
51
  }