@blocklet/ui-react 2.9.30 → 2.9.31

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.
@@ -172,7 +172,7 @@ export default function UserCenter({
172
172
  const formatError = {
173
173
  message: errorMessage
174
174
  };
175
- return /* @__PURE__ */ jsx(ErrorFallback, { error: formatError });
175
+ return /* @__PURE__ */ jsx(Box, { sx: { width: "100%" }, children: /* @__PURE__ */ jsx(ErrorFallback, { error: formatError }) });
176
176
  }
177
177
  return /* @__PURE__ */ jsxs(Fragment, { children: [
178
178
  /* @__PURE__ */ jsxs(Box, { sx: { flex: 1 }, children: [
@@ -179,8 +179,13 @@ function UserCenter({
179
179
  const formatError = {
180
180
  message: errorMessage
181
181
  };
182
- return /* @__PURE__ */(0, _jsxRuntime.jsx)(_ErrorBoundary.ErrorFallback, {
183
- error: formatError
182
+ return /* @__PURE__ */(0, _jsxRuntime.jsx)(_material.Box, {
183
+ sx: {
184
+ width: "100%"
185
+ },
186
+ children: /* @__PURE__ */(0, _jsxRuntime.jsx)(_ErrorBoundary.ErrorFallback, {
187
+ error: formatError
188
+ })
184
189
  });
185
190
  }
186
191
  return /* @__PURE__ */(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/ui-react",
3
- "version": "2.9.30",
3
+ "version": "2.9.31",
4
4
  "description": "Some useful front-end web components that can be used in Blocklets.",
5
5
  "keywords": [
6
6
  "react",
@@ -63,8 +63,8 @@
63
63
  },
64
64
  "dependencies": {
65
65
  "@abtnode/constant": "1.16.23",
66
- "@arcblock/did-connect": "^2.9.30",
67
- "@arcblock/ux": "^2.9.30",
66
+ "@arcblock/did-connect": "^2.9.31",
67
+ "@arcblock/ux": "^2.9.31",
68
68
  "@blocklet/js-sdk": "1.16.23",
69
69
  "@emotion/react": "^11.10.4",
70
70
  "@emotion/styled": "^11.10.4",
@@ -99,5 +99,5 @@
99
99
  "jest": "^28.1.3",
100
100
  "unbuild": "^2.0.0"
101
101
  },
102
- "gitHead": "646e8a5d3af47fedb96f0fab9632de11143840f2"
102
+ "gitHead": "4430dbf5949032024b28b129687d28e21a1155fc"
103
103
  }
@@ -206,7 +206,11 @@ export default function UserCenter({
206
206
  const formatError = {
207
207
  message: errorMessage,
208
208
  };
209
- return <ErrorFallback error={formatError} />;
209
+ return (
210
+ <Box sx={{ width: '100%' }}>
211
+ <ErrorFallback error={formatError} />
212
+ </Box>
213
+ );
210
214
  }
211
215
 
212
216
  return (